summaryrefslogtreecommitdiff
path: root/performance-tests
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-04-23 05:52:26 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-04-23 05:52:26 +0000
commit7d7563c46db06bc80babb7976416675d232a69a1 (patch)
treebc3919dfb5717ecc73363cb7015e9612704d5f34 /performance-tests
parent776fdb0dc7887537d3d42fcb159a7259f1504307 (diff)
downloadATCD-7d7563c46db06bc80babb7976416675d232a69a1.tar.gz
ChangeLogTag:Fri Apr 22 22:45:35 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'performance-tests')
-rw-r--r--performance-tests/Misc/test_mutex.cpp5
-rw-r--r--performance-tests/Server_Concurrency/Latency_Stats.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/performance-tests/Misc/test_mutex.cpp b/performance-tests/Misc/test_mutex.cpp
index 0c7ccf33f0d..51c0b07a41c 100644
--- a/performance-tests/Misc/test_mutex.cpp
+++ b/performance-tests/Misc/test_mutex.cpp
@@ -97,10 +97,15 @@ Thread_Mutex::release (void)
class Mutex_Base
{
public:
+ virtual ~Mutex_Base (void);
virtual int acquire (void) = 0;
virtual int release (void) = 0;
};
+Mutex_Base::~Mutex_Base (void)
+{
+}
+
// Subclass for threaded mutex, defines virtual functions.
class Thread_Mutex_Derived : public Mutex_Base
{
diff --git a/performance-tests/Server_Concurrency/Latency_Stats.h b/performance-tests/Server_Concurrency/Latency_Stats.h
index d0cec975627..2b0694b7ea7 100644
--- a/performance-tests/Server_Concurrency/Latency_Stats.h
+++ b/performance-tests/Server_Concurrency/Latency_Stats.h
@@ -178,7 +178,9 @@ Throughput_Stats::dump_results (const ACE_TCHAR *test_name,
inline
Throughput_Stats::Throughput_Stats (void)
- : n_ (0)
+ : n_ (0),
+ start_ (),
+ stop_ ()
{
}