Most of the tests saving histogram data have the X and Y labels
reversed, so swap those. Also it seems that for the Y label 'Samples'
seems more appropriate than "Iterations".
Signed-off-by: Sebastien Dugue <[EMAIL PROTECTED]>
Acked-by: Darren Hart <[EMAIL PROTECTED]>
Cc: Tim Chavez <[EMAIL PROTECTED]>
---
.../realtime/func/async_handler/async_handler.c | 2 +-
.../func/async_handler/async_handler_tsc.c | 2 +-
.../realtime/func/hrtimer-prio/hrtimer-prio.c | 2 +-
testcases/realtime/func/matrix_mult/matrix_mult.c | 2 +-
.../periodic_cpu_load/periodic_cpu_load_single.c | 2 +-
testcases/realtime/func/pi_perf/pi_perf.c | 2 +-
.../pthread_kill_latency/pthread_kill_latency.c | 2 +-
.../realtime/func/sched_latency/sched_latency.c | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/testcases/realtime/func/async_handler/async_handler.c
b/testcases/realtime/func/async_handler/async_handler.c
index 2dbd03c..277f073 100644
--- a/testcases/realtime/func/async_handler/async_handler.c
+++ b/testcases/realtime/func/async_handler/async_handler.c
@@ -168,7 +168,7 @@ void *signal_thread(void *arg)
stats_container_save("samples", "Asynchronous Event Handling Latency
Scatter Plot",\
"Iteration", "Latency (us)", &dat, "points");
stats_container_save("hist", "Asynchronous Event Handling Latency
Histogram",\
- "Iteration", "Latency (us)", &hist, "steps");
+ "Latency (us)", "Samples", &hist, "steps");
printf("signal thread exiting\n");
return NULL;
diff --git a/testcases/realtime/func/async_handler/async_handler_tsc.c
b/testcases/realtime/func/async_handler/async_handler_tsc.c
index 5245158..c737b87 100644
--- a/testcases/realtime/func/async_handler/async_handler_tsc.c
+++ b/testcases/realtime/func/async_handler/async_handler_tsc.c
@@ -220,7 +220,7 @@ void *signal_thread(void *arg)
stats_container_save("samples", "Asynchronous Event Handling Latency
(TSC) Scatter Plot",\
"Iteration", "Latency (us)", &dat, "points");
stats_container_save("hist", "Asynchronous Event Handling Latency (TSC)
Histogram",\
- "Iteration", "Latency (us)", &hist, "steps");
+ "Latency (us)", "Samples", &hist, "steps");
printf("signal thread exiting\n");
return NULL;
diff --git a/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
b/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
index e58139a..6397266 100644
--- a/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
+++ b/testcases/realtime/func/hrtimer-prio/hrtimer-prio.c
@@ -209,7 +209,7 @@ int main(int argc, char *argv[])
stats_container_save("samples", "High Resolution Timer Latency Scatter
Plot",\
"Iteration", "Latency (us)", &dat, "points");
stats_container_save("hist", "High Resolution Timer Latency Histogram",\
- "Iteration", "Latency (us)", &hist, "steps");
+ "Latency (us)", "Samples", &hist, "steps");
if (max_delta <= criteria)
ret = 0;
diff --git a/testcases/realtime/func/matrix_mult/matrix_mult.c
b/testcases/realtime/func/matrix_mult/matrix_mult.c
index 6611653..f62f4bd 100644
--- a/testcases/realtime/func/matrix_mult/matrix_mult.c
+++ b/testcases/realtime/func/matrix_mult/matrix_mult.c
@@ -199,7 +199,7 @@ int main(int argc, char *argv[])
stats_container_save("sequential", "Matrix Multiplication Sequential
Execution Runtime Scatter Plot",
"Iteration", "Runtime (us)", &sdat, "points");
stats_container_save("sequential_hist", "Matrix Multiplicatoin
Sequential Execution Runtime Histogram",
- "Iteration", "Runtime (us)", &shist, "steps");
+ "Runtime (us)", "Samples", &shist, "steps");
// run matrix mult operation concurrently
printf("\nConcurrent (%dx):\n", numcpus);
diff --git
a/testcases/realtime/func/periodic_cpu_load/periodic_cpu_load_single.c
b/testcases/realtime/func/periodic_cpu_load/periodic_cpu_load_single.c
index 9015c91..640c9a3 100644
--- a/testcases/realtime/func/periodic_cpu_load/periodic_cpu_load_single.c
+++ b/testcases/realtime/func/periodic_cpu_load/periodic_cpu_load_single.c
@@ -136,7 +136,7 @@ int periodic_thread(nsec_t period, int iterations, int
loops)
stats_container_save(samples_filename, "Periodic CPU Load Scatter
Plot",\
"Iteration", "Runtime (us)", &dat, "points");
stats_container_save(hist_filename, "Periodic CPU Load Histogram",\
- "Iteration", "Runtime (us)", &hist, "steps");
+ "Runtime (us)", "Samples", &hist, "steps");
printf(" Execution Time Statistics:\n");
printf("Min: %ld us\n", stats_min(&dat));
diff --git a/testcases/realtime/func/pi_perf/pi_perf.c
b/testcases/realtime/func/pi_perf/pi_perf.c
index 4eb1d98..47fc0a7 100644
--- a/testcases/realtime/func/pi_perf/pi_perf.c
+++ b/testcases/realtime/func/pi_perf/pi_perf.c
@@ -204,7 +204,7 @@ void * high_prio_thread(void *arg)
stats_container_save("samples", "pi_perf Latency Scatter Plot",
"Iteration", "Latency (us)", &wait_dat, "points");
stats_container_save("hist", "pi_perf Latency Histogram",
- "Iteration", "Latency (us)", &wait_hist, "steps");
+ "Latency (us)", "Samples", &wait_hist, "steps");
printf("Min wait time = %ld us\n", stats_min(&wait_dat));
printf("Max wait time = %ld us\n", stats_max(&wait_dat));
diff --git
a/testcases/realtime/func/pthread_kill_latency/pthread_kill_latency.c
b/testcases/realtime/func/pthread_kill_latency/pthread_kill_latency.c
index 6a66ae1..fa1c3c9 100644
--- a/testcases/realtime/func/pthread_kill_latency/pthread_kill_latency.c
+++ b/testcases/realtime/func/pthread_kill_latency/pthread_kill_latency.c
@@ -174,7 +174,7 @@ void *signal_receiving_thread(void *arg)
stats_container_save("samples", "pthread_kill Latency Scatter Plot",
"Iteration", "Latency (us)", &dat, "points");
stats_container_save("hist", "pthread_kill Latency Histogram",
- "Iteration", "Latency (us)", &hist, "steps");
+ "Latency (us)", "Samples", &hist, "steps");
stats_hist(&hist, &dat);
printf("\n");
diff --git a/testcases/realtime/func/sched_latency/sched_latency.c
b/testcases/realtime/func/sched_latency/sched_latency.c
index 55caef3..f286688 100644
--- a/testcases/realtime/func/sched_latency/sched_latency.c
+++ b/testcases/realtime/func/sched_latency/sched_latency.c
@@ -204,7 +204,7 @@ void *periodic_thread(void *arg)
stats_container_save("samples", "Periodic Scheduling Latency Scatter
Plot",\
"Iteration", "Latency (us)", &dat, "points");
stats_container_save("hist", "Periodic Scheduling Latency Histogram",\
- "Iteration", "Latency (us)", &hist, "steps");
+ "Latency (us)", "Samples", &hist, "steps");
avg_delay /= (i + 1);
printf("\n\n");
--
1.5.4.rc2.84.gf85fd-dirty
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list