View Source Evision.TickMeter (Evision v0.2.9)
Summary
Functions
getAvgTimeMilli
getAvgTimeSec
getCounter
getFPS
getTimeMicro
getTimeMilli
getTimeSec
getTimeTicks
reset
start
stop
TickMeter
Types
@type t() :: %Evision.TickMeter{ref: reference()}
Type that represents an TickMeter
struct.
ref.
reference()
The underlying erlang resource variable.
Functions
@spec getAvgTimeMilli(Keyword.t()) :: any() | {:error, String.t()}
@spec getAvgTimeMilli(t()) :: number() | {:error, String.t()}
getAvgTimeMilli
Positional Arguments
- self:
Evision.TickMeter.t()
Return
- retval:
double
Python prototype (for reference only):
getAvgTimeMilli() -> retval
@spec getAvgTimeSec(Keyword.t()) :: any() | {:error, String.t()}
@spec getAvgTimeSec(t()) :: number() | {:error, String.t()}
getAvgTimeSec
Positional Arguments
- self:
Evision.TickMeter.t()
Return
- retval:
double
Python prototype (for reference only):
getAvgTimeSec() -> retval
@spec getCounter(Keyword.t()) :: any() | {:error, String.t()}
@spec getCounter(t()) :: integer() | {:error, String.t()}
getCounter
Positional Arguments
- self:
Evision.TickMeter.t()
Return
- retval:
int64
Python prototype (for reference only):
getCounter() -> retval
@spec getFPS(Keyword.t()) :: any() | {:error, String.t()}
@spec getFPS(t()) :: number() | {:error, String.t()}
getFPS
Positional Arguments
- self:
Evision.TickMeter.t()
Return
- retval:
double
Python prototype (for reference only):
getFPS() -> retval
@spec getTimeMicro(Keyword.t()) :: any() | {:error, String.t()}
@spec getTimeMicro(t()) :: number() | {:error, String.t()}
getTimeMicro
Positional Arguments
- self:
Evision.TickMeter.t()
Return
- retval:
double
Python prototype (for reference only):
getTimeMicro() -> retval
@spec getTimeMilli(Keyword.t()) :: any() | {:error, String.t()}
@spec getTimeMilli(t()) :: number() | {:error, String.t()}
getTimeMilli
Positional Arguments
- self:
Evision.TickMeter.t()
Return
- retval:
double
Python prototype (for reference only):
getTimeMilli() -> retval
@spec getTimeSec(Keyword.t()) :: any() | {:error, String.t()}
@spec getTimeSec(t()) :: number() | {:error, String.t()}
getTimeSec
Positional Arguments
- self:
Evision.TickMeter.t()
Return
- retval:
double
Python prototype (for reference only):
getTimeSec() -> retval
@spec getTimeTicks(Keyword.t()) :: any() | {:error, String.t()}
@spec getTimeTicks(t()) :: integer() | {:error, String.t()}
getTimeTicks
Positional Arguments
- self:
Evision.TickMeter.t()
Return
- retval:
int64
Python prototype (for reference only):
getTimeTicks() -> retval
@spec reset(Keyword.t()) :: any() | {:error, String.t()}
@spec reset(t()) :: t() | {:error, String.t()}
reset
Positional Arguments
- self:
Evision.TickMeter.t()
Python prototype (for reference only):
reset() -> None
@spec start(Keyword.t()) :: any() | {:error, String.t()}
@spec start(t()) :: t() | {:error, String.t()}
start
Positional Arguments
- self:
Evision.TickMeter.t()
Python prototype (for reference only):
start() -> None
@spec stop(Keyword.t()) :: any() | {:error, String.t()}
@spec stop(t()) :: t() | {:error, String.t()}
stop
Positional Arguments
- self:
Evision.TickMeter.t()
Python prototype (for reference only):
stop() -> None
TickMeter
Return
- self:
Evision.TickMeter.t()
Python prototype (for reference only):
TickMeter() -> <TickMeter object>