HRTime\StopWatch::getLastElapsedTime
File System Related Extensions
HRTime
PHP Manual

# The HRTime\Unit class

(PECL hrtime >= 0.4.3)

## Introduction

## Class synopsis

HRTime\Unit {
/* Constants */
const integer SECOND = 0 ;
const integer MILLISECOND = 1 ;
const integer MICROSECOND = 2 ;
const integer NANOSECOND = 3 ;
/* Methods */
}

## Predefined Constants

`HRTime\Unit::SECOND`

`HRTime\Unit::MILLISECOND`

`HRTime\Unit::MICROSECOND`

`HRTime\Unit::NANOSECOND`

HRTime\StopWatch::getLastElapsedTime
File System Related Extensions
HRTime
PHP Manual