Avorion Script API Documentation

Profiler

function Profiler(string str)

Returns

A new instance of Profiler

property int printedSections
property bool started[read-only]

function string __tostring()

function var addSection(string name, double duration)

Returns

nothing

function double done()

function var print()

Returns

nothing

function var reenter(string name)

Returns

nothing

function var reset()

Returns

nothing

function var section(string name)

Returns

nothing

Overview
Home Functions Search
Search:

This is the official documentation for the scripting API of Avorion. This documentation is automatically generated and not necessarily complete. Depending on the context in which functions exist, some documentation such as descriptions, return values or variable names or types may be missing.

Work in Progress. Documentation of Avorion Version: 2.5.7 c8e4beec84f7