TimingPoint
in package
Represents a timing point.
Table of Contents
Methods
- __construct() : mixed
- getComment() : string
- Gets time point comment.
- getDurationTicks() : int
- Gets the duration ticks count.
- getDurationTime() : int
- Gets the duration time amount.
- getName() : string
- Gets time point name.
- getTimePointTicks() : int
- Gets the starting ticks count.
- hasComment() : bool
- Checks whether time point has a comment.
Methods
__construct()
public
__construct(int $timePoint, int $duration, string $name, string $comment) : mixed
Parameters
- $timePoint : int
-
Starting tick count.
- $duration : int
-
Duration ticks count.
- $name : string
-
Name of the timing point.
- $comment : string
-
Timing point comment.
getComment()
Gets time point comment.
public
getComment() : string
Return values
string —Time point comment.
getDurationTicks()
Gets the duration ticks count.
public
getDurationTicks() : int
Return values
int —Duration ticks count.
getDurationTime()
Gets the duration time amount.
public
getDurationTime() : int
Return values
int —Duration time amount.
getName()
Gets time point name.
public
getName() : string
Return values
string —Time point name.
getTimePointTicks()
Gets the starting ticks count.
public
getTimePointTicks() : int
Return values
int —Starting ticks count.
hasComment()
Checks whether time point has a comment.
public
hasComment() : bool
Return values
bool —true if the time point has a comment.