by erichocean · 9y ago · 0 comments
That's exactly what we're using TrailDB for. Works great.
Individual events are typically hundreds to thousands of nanoseconds long, with about 20 nanoseconds of overhead to grab a timestamp using the rdtscp instruction.
Hope that helps!
• we track function entry/exit/throw, offset (in nanoseconds) from the initial timestamp, and in the case of a throw, we also capture a stack trace (which is not stored in TrailDB)
• our server is written in C++