Commit Graph

15 Commits

Author SHA1 Message Date
Jack Punter 45e4ce5d44 Adds @(no_instrumentation) to spall buffer and SCOPED operations
Currently without this scoped event names are not displaying correctly when auto-tracing is enabled.
The buffer_destroy event, obviously, fails to be completed (as theres no buffer to write the end event to, and context_destroy should happen after all the buffers are destroyed so there's, again, no buffers to write to.
2025-08-04 23:15:16 +01:00
Colin Davidson 3e10684630 adjust scale with new format, fix segfault for auto-trace 2025-07-30 14:09:50 -07:00
Colin Davidson e1fd69f573 oops, one more manual_header 2025-07-28 16:27:54 -07:00
Colin Davidson 7986d85924 name_container_event -> name_event 2025-07-28 16:25:42 -07:00
Colin Davidson 2dd1e3c8e3 fix casts and consts 2025-07-28 16:24:29 -07:00
Colin Davidson 5b020591d8 update to spall format v3 2025-07-28 16:19:51 -07:00
gingerBill 97c499dbb4 Begin mapping os.Error in the rest of the codebase 2024-08-04 11:58:04 +01:00
gingerBill 1d75a612d5 os.Errno -> os.Error 2024-08-04 11:47:23 +01:00
Laytan Laats ca6300c860 spall instrumentation 2024-02-05 16:54:22 +01:00
gingerBill 3e7e779abf Replace core:* to base:* where appropriate 2024-01-28 22:18:51 +00:00
Matias Fernandez 4e146a75b6 Allow user to pass in scale directly in spall.context_create 2023-05-09 16:43:26 -04:00
Matias Fernandez 57c14f6a9b Allow custom sleep on tsc fallback.
This gives the user more control over the spectrum of precision vs. load time on Windows. Spall's output with much lower sleep times is still useful in my experience.

NOTE: A better API might be to allow the user to pass the freq as a param to "create_context" in case they already paid for it beforehand, but this seems fine for now.
2023-05-09 00:03:58 -04:00
Jon Lipstate ac0f3c8433 resolve doc/spall package name conflict 2023-03-10 19:24:11 -08:00
Colin Davidson 30ced04137 log buffer flushes to trace 2023-03-09 15:26:27 -08:00
gingerBill 9c7656d59a Add core:prof/spall 2023-02-26 14:00:39 +00:00