dagor.profiler
module ‘dagor.profiler’
Source file: prog/gameLibs/quirrel/sqDebugger/scriptProfiler.cpp
Usage:
let { dump, reset_values, get_total_time, detect_slow_calls, start, stop, stop_and_save_to_file } = require("dagor.profiler")
or:
from "dagor.profiler" import *
//'dagor.profiler' exports:
{
function dump(): -> null
function reset_values(): -> null
function get_total_time(): -> integer
function detect_slow_calls(msec_threshold): integer -> null
function start()
function stop()
function stop_and_save_to_file(arg0): string -> _undocumented_
}
- function dump()
- Returns
null
- function reset_values()
- Returns
null
- function get_total_time()
- Returns
integer
- function detect_slow_calls(msec_threshold)
- Arguments
msec_threshold (
integer()
) –
- Returns
null
- function start()
- function stop()
- function stop_and_save_to_file(arg0)
- Arguments
arg0 (
string()
) – autodoc from typemask/paramscheck
nparamscheck:2
typecheck mask: any_type, string