|
Pyrogenesis
13997
|
#include "precompiled.h"#include "Profiler2.h"#include "lib/allocators/shared_ptr.h"#include "ps/CLogger.h"#include "ps/CStr.h"#include "ps/Profiler2GPU.h"#include "third_party/mongoose/mongoose.h"#include <iomanip>Go to the source code of this file.
Classes | |
| struct | BufferVisitor_Dump |
| Visitor class that dumps events as JSON. More... | |
Functions | |
| static void * | MgCallback (mg_event event, struct mg_connection *conn, const struct mg_request_info *request_info) |
| Mongoose callback. More... | |
| template<typename V > | |
| void | RunBufferVisitor (const std::string &buffer, V &visitor) |
| Given a buffer and a visitor class (with functions OnEvent, OnEnter, OnLeave, OnAttribute), calls the visitor for every item in the buffer. More... | |
Variables | |
| CProfiler2 | g_Profiler2 |
|
static |
Mongoose callback.
Run in an arbitrary thread (possibly concurrently with other requests).
Definition at line 54 of file Profiler2.cpp.
| void RunBufferVisitor | ( | const std::string & | buffer, |
| V & | visitor | ||
| ) |
Given a buffer and a visitor class (with functions OnEvent, OnEnter, OnLeave, OnAttribute), calls the visitor for every item in the buffer.
Definition at line 346 of file Profiler2.cpp.
| CProfiler2 g_Profiler2 |
Definition at line 35 of file Profiler2.cpp.
1.8.5