Skip to content

Commit

Permalink
latency example should use "microseconds"
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Pacheco committed Sep 23, 2011
1 parent 425f3aa commit 8fd801b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
23 changes: 13 additions & 10 deletions README.md
Expand Up @@ -24,17 +24,20 @@ Or, for busier services, summarize latency over time with a histogram:
# dtrace -s examples/http-requests.d
Tracing. Hit CTRL-C to stop.
^C



microseconds

value ------------- Distribution ------------- count
65536 | 0
131072 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 872
262144 |@@@@ 92
524288 |@ 24
1048576 | 8
2097152 | 2
4194304 | 2
8388608 | 0
64 | 0
128 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 3367
256 |@@@@@@ 578
512 |@ 51
1024 | 3
2048 | 0
4096 | 0
8192 | 1
16384 | 0



Instructions
Expand Down
2 changes: 1 addition & 1 deletion examples/http-requests-bylatency.d
Expand Up @@ -14,6 +14,6 @@ httpd*:::request-start

httpd*:::request-done
{
@ = quantize(timestamp - self->start);
@["microseconds"] = quantize((timestamp - self->start) / 1000);
self->start = 0;
}

0 comments on commit 8fd801b

Please sign in to comment.