Services to gather information on the performance of events by categories

Provides PerfMap to manage all the categories and PerfEntry for per-category statistics.

for i in 100.times do
    var clock = new Clock

    # Do some "work" here
    nanosleep(0, 1000000)

    # Register the perf
    sys.perfs["sleep 1ms"].add clock.lapse

    # Do some other "work" here
    nanosleep(0, 5000000)

    # Register the perf
    sys.perfs["sleep 5ms"].add clock.lapse
end

assert sys.perfs["sleep 1ms"].count == 100
assert sys.perfs["sleep 1ms"].avg.is_approx(0.001, 0.001)
assert sys.perfs["sleep 5ms"].avg.is_approx(0.005, 0.005)

All subgroups and modules

module performance_analysis

performance_analysis :: performance_analysis

Services to gather information on the performance of events by categories
package_diagram performance_analysis\> performance_analysis realtime realtime performance_analysis\>->realtime core core realtime->core ...core ... ...core->core gamnit gamnit gamnit->performance_analysis\> nitcorn nitcorn nitcorn->performance_analysis\> android android android->gamnit android... ... android...->android github github github->nitcorn popcorn popcorn popcorn->nitcorn github... ... github...->github popcorn... ... popcorn...->popcorn

Ancestors

group codecs

core > codecs

Group module for all codec-related manipulations
group collection

core > collection

This module define several collection classes.
group core

core

Nit common library of core classes and methods
group text

core > text

All the classes and methods related to the manipulation of text entities

Parents

group realtime

realtime

Services to keep time of the wall clock time

Children

group gamnit

gamnit

Portable game and multimedia framework for Nit
group nitcorn

nitcorn

Lightweight framework for Web applications development

Descendants

group android

android

Android platform support and APIs
group bundle

android > bundle

A mapping class of String to various value types used by the
group depth

gamnit > depth

gamnit depth, a framework to create portable 3D games in Nit.
group egl

egl

Interface between rendering APIs (OpenGL, OpenGL ES, etc.) and the native windowing system.
group examples

app > examples

group flat

gamnit > flat

Simple API for 2D games, built around Sprite and App::update
group github

github

Nit wrapper for Github API
group glesv2

glesv2

OpenGL graphics rendering library for embedded systems, version 2.0
group intent

android > intent

Services allowing to launch activities and start/stop services using
group notification

android > notification

Services to show notification in the Android status bar
group popcorn

popcorn

Popcorn
group service

android > service

Android service support for app.nit centered around the class Service
group shared_preferences

android > shared_preferences

Services allowing to save and load datas to internal android device
group src

android > examples > src

group src

nitcorn > examples > src

group ui

android > ui

Views and services to use the Android native user interface
group virtual_gamepad

gamnit > virtual_gamepad

Virtual gamepad mapped to keyboard keys for quick and dirty mobile support