summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/performance-tests/Latency/dii_client.cpp13
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 */
+