View Source Evision.TickMeter (Evision v0.1.21)

Link to this section Summary

Types

t()

Type that represents an Evision.TickMeter struct.

Functions

getAvgTimeMilli

getAvgTimeSec

getCounter

getFPS

getTimeMicro

getTimeMilli

getTimeSec

getTimeTicks

reset

start

stop

TickMeter

Link to this section Types

@type t() :: %Evision.TickMeter{ref: reference()}

Type that represents an Evision.TickMeter struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

@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(t()) :: number() | {:error, String.t()}

getAvgTimeSec

Positional Arguments
  • self: Evision.TickMeter.t()
Return
  • retval: double

Python prototype (for reference only):

getAvgTimeSec() -> retval
@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(t()) :: number() | {:error, String.t()}

getFPS

Positional Arguments
  • self: Evision.TickMeter.t()
Return
  • retval: double

Python prototype (for reference only):

getFPS() -> retval
@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(t()) :: number() | {:error, String.t()}

getTimeMilli

Positional Arguments
  • self: Evision.TickMeter.t()
Return
  • retval: double

Python prototype (for reference only):

getTimeMilli() -> retval
@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(t()) :: integer() | {:error, String.t()}

getTimeTicks

Positional Arguments
  • self: Evision.TickMeter.t()
Return
  • retval: int64

Python prototype (for reference only):

getTimeTicks() -> retval
@spec reset(t()) :: :ok | {:error, String.t()}

reset

Positional Arguments
  • self: Evision.TickMeter.t()

Python prototype (for reference only):

reset() -> None
@spec start(t()) :: :ok | {:error, String.t()}

start

Positional Arguments
  • self: Evision.TickMeter.t()

Python prototype (for reference only):

start() -> None
@spec stop(t()) :: :ok | {:error, String.t()}

stop

Positional Arguments
  • self: Evision.TickMeter.t()

Python prototype (for reference only):

stop() -> None
@spec tickMeter() :: t() | {:error, String.t()}

TickMeter

Return

Python prototype (for reference only):

TickMeter() -> <TickMeter object>