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

Unified Diff: courgette/adjustment_method_2.cc

Issue 988002: Fix for bug where 64-bit executables were processed as 32-bit executables.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 months 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 | « no previous file | courgette/ensemble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/adjustment_method_2.cc
===================================================================
--- courgette/adjustment_method_2.cc (revision 41586)
+++ courgette/adjustment_method_2.cc (working copy)
@@ -18,6 +18,7 @@
#include "base/format_macros.h"
#include "base/logging.h"
#include "base/string_util.h"
+#include "base/time.h"
#include "courgette/assembly_program.h"
#include "courgette/courgette.h"
@@ -1293,8 +1294,11 @@
}
void Solve(const Trace& model, size_t model_end) {
+ base::Time start_time = base::Time::Now();
AssignmentProblem a(model, model_end);
a.Solve();
+ LOG(INFO) << " Adjuster::Solve "
+ << (base::Time::Now() - start_time).InSecondsF();
}
void ReferenceLabel(Trace* trace, Label* label, bool is_model) {
« no previous file with comments | « no previous file | courgette/ensemble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698