gecko-dev/js/ipc/CPOWTimer.h

25 строки
570 B
C
Исходник Обычный вид История

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=4 sw=4 et tw=80:
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef CPOWTIMER_H
#define CPOWTIMER_H
#include "prinrval.h"
class JSObject;
class MOZ_STACK_CLASS CPOWTimer {
public:
CPOWTimer(): startInterval(PR_IntervalNow()) {}
~CPOWTimer();
private:
PRIntervalTime startInterval;
};
#endif