22 lines
817 B
Text
22 lines
817 B
Text
$NetBSD: patch-ae,v 1.3 2005/05/29 14:38:33 wiz Exp $
|
|
|
|
--- glunix/src/perf/mperf.cc.orig 1997-09-05 21:30:10.000000000 +0200
|
|
+++ glunix/src/perf/mperf.cc
|
|
@@ -137,7 +137,7 @@ Perf_Initialize(void)
|
|
Perf_IncomingReturnTimeTicket);
|
|
|
|
#ifdef DEBUG
|
|
- debug_cleanupCallbacks->Add((void (*)(int, void *))Perf_Cleanup, NULL);
|
|
+ debug_cleanupCallbacks->Add((void (*)(int, void *))Perf_Cleanup, 0);
|
|
#endif
|
|
|
|
return True;
|
|
@@ -188,7 +188,7 @@ Perf_CalibrateDaemon(Ndb_Node *node, int
|
|
MsgPerf_CalibrateDaemonReply *reply;
|
|
struct timeval t1, t2;
|
|
int ctr, offset;
|
|
- longlong_t startTime, stopTime, remoteTime;
|
|
+ quad_t startTime, stopTime, remoteTime;
|
|
double min, max, totalValue, var;
|
|
int numValues, totalEvents;
|
|
int minMsgTime; // The minimum round-trip message time
|