summaryrefslogtreecommitdiff
path: root/performance-tests
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-08 20:59:44 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-08 20:59:44 +0000
commit909af175b4adb40a3e8ecf54b2ceb11a93415387 (patch)
tree0518b550ed4f8bf504b41db1838c0b8b78661f66 /performance-tests
parent8e32683a6ef6d1a8fdfbd07a154eb9bb58bbab3a (diff)
downloadATCD-909af175b4adb40a3e8ecf54b2ceb11a93415387.tar.gz
must cast the average nsec to int.
Diffstat (limited to 'performance-tests')
-rw-r--r--performance-tests/Synch-Benchmarks/Base_Test/Baseline_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/performance-tests/Synch-Benchmarks/Base_Test/Baseline_Test.cpp b/performance-tests/Synch-Benchmarks/Base_Test/Baseline_Test.cpp
index 2c78efa19fe..be6e1eaf72f 100644
--- a/performance-tests/Synch-Benchmarks/Base_Test/Baseline_Test.cpp
+++ b/performance-tests/Synch-Benchmarks/Base_Test/Baseline_Test.cpp
@@ -143,7 +143,7 @@ Baseline_Test_Options::print_result (void)
"Average time: %d nanoseconds.\n",
tv.sec (), tv.usec (),
this->current_iteration_,
- nsec / this->current_iteration_));
+ (int) (nsec / this->current_iteration_)));
}
Baseline_Test::Baseline_Test (void)