From 38f82f342de12a5fa16462538b976d88a8d2d813 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Sat, 12 Aug 1995 00:25:34 +0000 Subject: [PATCH] new ca_pend_event() duration test --- src/ca/catime.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/src/ca/catime.c b/src/ca/catime.c index 3cb2c77f5..9c96b29af 100644 --- a/src/ca/catime.c +++ b/src/ca/catime.c @@ -59,6 +59,7 @@ LOCAL void test ( unsigned iterations ); +LOCAL tf test_pend; LOCAL tf test_search; LOCAL tf test_free; LOCAL tf test_wait; @@ -82,7 +83,7 @@ int main(int argc, char **argv) catime(pname); } else{ - printf("usage: %s ", argv[0]); + printf("usage: %s \n", argv[0]); return -1; } return 0; @@ -119,6 +120,9 @@ int catime (char *channelName) ca_field_type(itemList[0].chix), ca_element_count(itemList[0].chix)); + printf ("\tpend event test\n"); + timeIt (test_pend, NULL, 100); + for (i=0; i