[openib-general] perftest #2: replace last use of get_clock()

Grant Grundler iod00d at hp.com
Tue May 10 18:33:58 PDT 2005


Michael,

rdma_lat won't link -  still has reference to get_clock().
Patch below fixes.

thanks,
grant

Signed-off-by: Grant Grundler <iod00d at hp.com>

Index: rdma_lat.c
===================================================================
--- rdma_lat.c	(revision 2296)
+++ rdma_lat.c	(working copy)
@@ -724,7 +724,7 @@ int main(int argc, char *argv[])
 					scnt);
 				return 1;
 			}
-			tstamp[scnt - 1] = get_clock();
+			tstamp[scnt - 1] = get_cycles();
 		}
 
 		if (ccnt < iters) {



More information about the general mailing list