1
0
mirror of https://github.com/libp2p/go-libp2p-resource-manager.git synced 2025-03-26 01:00:56 +08:00
Commit Graph

13 Commits

Author SHA1 Message Date
Marco Munizaga
fd5de7a9d8
Flip sign bit of release memory trace event
Flip sign bit of release memory trace event to be inline with the other uses of delta in trace.go
2022-06-20 15:10:07 -07:00
Marten Seemann
a18fe790bf
trace the scope as a JSON object () 2022-06-20 00:41:33 -07:00
Marten Seemann
5224eb6ad6
export the TraceEvt () 2022-06-04 06:43:35 -07:00
Marten Seemann
4316554cd3
trace exact timestamps ()
RFC3339 only exports up to second granularity, which is not enough for a
detailed analysis.
2022-06-04 06:43:23 -07:00
Marten Seemann
5874c5f23a
skip events that don't change anything in tracer ()
This happens when empty sub-scopes are moved around between scopes.
2022-06-04 04:20:07 -07:00
Marten Seemann
50387915ba
add a timestamp to trace events () 2022-06-01 07:08:25 -07:00
Marten Seemann
6e6735caf7
fix sign of delta of release_memory tracer event () 2022-04-10 11:17:13 -07:00
Marten Seemann
7352c8b2e7
use a string for trace events () 2022-04-08 12:20:32 -07:00
vyzo
f51ceca509 emit start event to trace with the limiter 2022-01-17 12:33:01 +02:00
vyzo
8a60c5d336 short circuit write/flush if there are no pending events 2022-01-17 12:33:01 +02:00
vyzo
83c13993f8 fix omit empty decl 2022-01-17 12:33:01 +02:00
vyzo
1dc0961ae6 implement tracer 2022-01-17 12:33:01 +02:00
vyzo
98870b0c0c tracing instrumentation 2022-01-17 12:33:01 +02:00