diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-02-25 15:45:03 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-02-25 15:45:03 +0000 |
commit | a22c3c42b2ab5ae0a9013d3e833ca72eeb27be87 (patch) | |
tree | ff8acddb6bcaf9e692fb2e9a4022021c9c7cc522 /TAO/performance-tests | |
parent | ebf0fddd773391b877200afa359b498a380b6b35 (diff) | |
download | ATCD-a22c3c42b2ab5ae0a9013d3e833ca72eeb27be87.tar.gz |
Guarded all pertinent code with #if !defined (TAO_HAS_MINIMUM_CORBA).
Diffstat (limited to 'TAO/performance-tests')
-rw-r--r-- | TAO/performance-tests/Latency/dii_client.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/TAO/performance-tests/Latency/dii_client.cpp b/TAO/performance-tests/Latency/dii_client.cpp index 8ced660dd39..05e7194f288 100644 --- a/TAO/performance-tests/Latency/dii_client.cpp +++ b/TAO/performance-tests/Latency/dii_client.cpp @@ -55,6 +55,8 @@ parse_args (int argc, char *argv[]) return 0; } +#if !defined (TAO_HAS_MINIMUM_CORBA) + class DII_Client { // = TITLE @@ -98,6 +100,8 @@ private: // Holder for <burst> request pointers }; +#endif /* TAO_HAS_MINIMUM_CORBA */ + int main (int argc, char *argv[]) { @@ -146,6 +150,8 @@ main (int argc, char *argv[]) 1); } +#if !defined (TAO_HAS_MINIMUM_CORBA) + DII_Client client; client.set (server.in ()); client.svc (); @@ -159,6 +165,8 @@ main (int argc, char *argv[]) client.prep_stats ("Deferred req prep", gsf); client.other_stats (gsf); +#endif /* TAO_HAS_MINIMUM_CORBA */ + if (do_shutdown) { server->shutdown (ACE_TRY_ENV); @@ -178,6 +186,8 @@ main (int argc, char *argv[]) // **************************************************************** +#if !defined (TAO_HAS_MINIMUM_CORBA) + DII_Client::DII_Client (void) { } @@ -312,3 +322,6 @@ DII_Client::other_stats (ACE_UINT32 gsf) latency, throughput)); } + +#endif /* TAO_HAS_MINIMUM_CORBA */ + |