mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
bug fixes (mechiel lukkien)
This commit is contained in:
parent
fc46abdd9c
commit
434d1b41b6
3 changed files with 4 additions and 4 deletions
|
@ -50,7 +50,7 @@ threadmain(int argc, char **argv)
|
|||
|
||||
srv = vtlisten(address);
|
||||
if(srv == nil)
|
||||
sysfatal("vtlisten %s: %r", argv[1]);
|
||||
sysfatal("vtlisten %s: %s", address);
|
||||
|
||||
while((r = vtgetreq(srv)) != nil){
|
||||
r->rx.msgtype = r->tx.msgtype+1;
|
||||
|
|
|
@ -163,7 +163,7 @@ inbloomfilter(Bloom *b, u8int *score)
|
|||
rlock(&b->lk);
|
||||
r = _inbloomfilter(b, score);
|
||||
runlock(&b->lk);
|
||||
ms = ms - msec();
|
||||
ms = msec() - ms;
|
||||
addstat2(StatBloomLookup, 1, StatBloomLookupTime, ms);
|
||||
if(r)
|
||||
addstat(StatBloomMiss, 1);
|
||||
|
|
|
@ -73,7 +73,7 @@ graphname = new Array(
|
|||
"uncached read RPC time",
|
||||
"rpcwritenewtime/divdiff=rpcwritenew",
|
||||
"fresh write RPC time",
|
||||
"rpcwriteduptime/divdiff=rpcwritedup",
|
||||
"rpcwriteoldtime/divdiff=rpcwriteold",
|
||||
"dup write RPC time",
|
||||
|
||||
"sumreadbyte/diff",
|
||||
|
@ -153,7 +153,7 @@ column2 = new Array(
|
|||
"rpcreadcachedtime/divdiff=rpcreadcached",
|
||||
"rpcreaduncachedtime/divdiff=rpcreaduncached",
|
||||
"rpcwritenewtime/divdiff=rpcwritenew",
|
||||
"rpcwriteduptime/divdiff=rpcwritedup",
|
||||
"rpcwriteoldtime/divdiff=rpcwriteold",
|
||||
|
||||
"END"
|
||||
|
||||
|
|
Loading…
Reference in a new issue