[Lldb-commits] [lldb] r176718 - Dump the measurements directly instead of getting their metrics first
Enrico Granata
egranata at apple.com
Fri Mar 8 12:50:36 PST 2013
Author: enrico
Date: Fri Mar 8 14:50:36 2013
New Revision: 176718
URL: http://llvm.org/viewvc/llvm-project?rev=176718&view=rev
Log:
Dump the measurements directly instead of getting their metrics first
(this code needs to be pushed up so that in the basic scenarios TestCase knows to dump all its measurements directly)
Modified:
lldb/trunk/tools/lldb-perf/darwin/sketch/main.cpp
Modified: lldb/trunk/tools/lldb-perf/darwin/sketch/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-perf/darwin/sketch/main.cpp?rev=176718&r1=176717&r2=176718&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-perf/darwin/sketch/main.cpp (original)
+++ lldb/trunk/tools/lldb-perf/darwin/sketch/main.cpp Fri Mar 8 14:50:36 2013
@@ -154,18 +154,12 @@ public:
void
Results ()
{
- auto ff_metric = m_fetch_frames_measurement.metric();
- auto fl_metric = m_file_line_bp_measurement.metric();
- auto md_metric = m_fetch_modules_measurement.metric();
- auto fv_metric = m_fetch_vars_measurement.metric();
- auto xp_metric = m_run_expr_measurement.metric();
-
CFCMutableArray array;
- ff_metric.Write(array);
- fl_metric.Write(array);
- md_metric.Write(array);
- fv_metric.Write(array);
- xp_metric.Write(array);
+ m_fetch_frames_measurement.Write(array);
+ m_file_line_bp_measurement.Write(array);
+ m_fetch_modules_measurement.Write(array);
+ m_fetch_vars_measurement.Write(array);
+ m_run_expr_measurement.Write(array);
CFDataRef xmlData = CFPropertyListCreateData(kCFAllocatorDefault, array.get(), kCFPropertyListXMLFormat_v1_0, 0, NULL);
More information about the lldb-commits
mailing list