DataSift_Historic::getDPUs PHP Method

getDPUs() public method

Returns the DPU cost of running this historic. If the historic has not yet been prepared that will be done automagically to obtain the cost.
public getDPUs ( ) : integer
return integer The DPU cost.
    public function getDPUs()
    {
        if ($this->_dpus === false) {
            $this->prepare();
        }
        return $this->_dpus;
    }