View Source Evision.TickMeter (Evision v0.2.9)

Summary

Types

t()

Type that represents an TickMeter struct.

Types

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

Type that represents an TickMeter struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

getAvgTimeMilli(named_args)

View Source
@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
Link to this function

getAvgTimeSec(named_args)

View Source
@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
Link to this function

getTimeMicro(named_args)

View Source
@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
Link to this function

getTimeMilli(named_args)

View Source
@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
Link to this function

getTimeTicks(named_args)

View Source
@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
@spec tickMeter() :: t() | {:error, String.t()}

TickMeter

Return
  • self: Evision.TickMeter.t()

Python prototype (for reference only):

TickMeter() -> <TickMeter object>
@spec tickMeter(Keyword.t()) :: any() | {:error, String.t()}