mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-09 17:52:08 -10:00
15 lines
294 B
C++
15 lines
294 B
C++
#include "tracing/Monitor.h"
|
|
#include "tracing/tracing.h"
|
|
|
|
using namespace tracing;
|
|
|
|
namespace tracing {
|
|
|
|
MonitorBase::MonitorBase(const char* name) : _name(name), _tracing_cat(name, false) {
|
|
}
|
|
void MonitorBase::valueChanged(float newVal) {
|
|
tracing::counter::value(_tracing_cat, newVal);
|
|
}
|
|
|
|
}
|