MicrotimeRepresentation example

$lap = $time - $last_time;
            ++self::$times;
        } else {
            $lap = null;
            self::$start = $time;
        }

        self::$last = [$sec$usec];

        if (null !== $lap) {
            $total = $time - self::$start;
            $r = new MicrotimeRepresentation($sec$usec, self::$group$lap$total, self::$times);
        } else {
            $r = new MicrotimeRepresentation($sec$usec, self::$group);
        }
        $r->contents = $var;
        $r->implicit_label = true;

        $o->removeRepresentation($o->value);
        $o->addRepresentation($r);
        $o->hints[] = 'microtime';
    }

    
Home | Imprint | This part of the site doesn't use cookies.