GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — async-profiler/src/flightRecorder.h at jonoffcpu-dev · jonoffcpu/async-profiler Expand file tree/ Copy pathflightRecorder.hMore file actions 49 lines (36 loc) · 1.11 KB / Copy pathflightRecorder.hFile metadata and controls49 lines (36 loc) · 1.11 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 /* * Copyright The async-profiler authors * SPDX-License-Identifier: Apache-2.0 */ #ifndef _FLIGHTRECORDER_H #define _FLIGHTRECORDER_H #include "arch.h" #include "arguments.h" #include "event.h" #include "log.h" class Recording; class FlightRecorder { private: Recording* _rec; Error startMasterRecording(Arguments& args, const char* filename); bool stopMasterRecording(); public: static const LogLevel MIN_LOG_LEVEL = LogLevel::LOG_DEBUG; FlightRecorder() : _rec(NULL) { } Error start(Arguments& args, bool reset); bool stop(); void flush(); size_t usedMemory(); bool timerTick(u64 wall_time, u32 gc_id); bool active() const { return _rec != NULL; } void recordEvent(int lock_index, int tid, u32 call_trace_id, EventType event_type, Event* event); void recordSignalCaptureStats(const char* session_id, u32 capture_epoch, const SignalCaptureStats& stats); void recordLog(LogLevel level, const char* message, size_t len); static bool isJfrStarting(); }; #endif // _FLIGHTRECORDER_H |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |