Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Unified Diff: delta_diff_generator.h

Issue 4610001: AU: Speed up full update payload generation by running multiple threads. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git@master
Patch Set: doc strings Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « SConstruct ('k') | delta_diff_generator.cc » ('j') | full_update_generator.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: delta_diff_generator.h
diff --git a/delta_diff_generator.h b/delta_diff_generator.h
index 067ce1f3011e5265d2e07c8e98835c25ee40f955..53d3f87037468f1e23617a606b9a1a781727653d 100644
--- a/delta_diff_generator.h
+++ b/delta_diff_generator.h
@@ -194,23 +194,6 @@ class DeltaDiffGenerator {
std::vector<std::vector<Vertex::Index>::size_type>* reverse_op_indexes,
const std::vector<CutEdgeVertexes>& cuts);
- // Given a new rootfs and kernel (|new_image|, |new_kernel_part|), Reads them
- // sequentially, creating a full update of chunk_size chunks. Populates
- // |graph|, |kernel_ops|, and |final_order|, with data about the update
- // operations, and writes relevant data to |fd|, updating |data_file_size| as
- // it does. Only the first |image_size| bytes are read from |new_image|
- // assuming that this is the actual file system.
- static bool ReadFullUpdateFromDisk(
- Graph* graph,
- const std::string& new_kernel_part,
- const std::string& new_image,
- off_t image_size,
- int fd,
- off_t* data_file_size,
- off_t chunk_size,
- std::vector<DeltaArchiveManifest_InstallOperation>* kernel_ops,
- std::vector<Vertex::Index>* final_order);
-
// Returns true if |op| is a no-op operation that doesn't do any useful work
// (e.g., a move operation that copies blocks onto themselves).
static bool IsNoopOperation(const DeltaArchiveManifest_InstallOperation& op);
« no previous file with comments | « SConstruct ('k') | delta_diff_generator.cc » ('j') | full_update_generator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698