RRDCreator::__construct

(PECL rrd >= 0.9.0)

RRDCreator::__constructCreates new RRDCreator instance

说明

public RRDCreator::__construct ( string $path [, string $startTime [, int $step = 0 ]] )

Creates new RRDCreator instance.

参数

path

Path for newly created RRD database file.

startTime

Time for the first value in RRD database. Parameter supports all formats which are supported by rrd create call.

int step

Base interval in seconds with which data will be fed into the RRD database.

返回值

没有返回值。

关注编程学问公众号