gecko/js/ipc/CPOWTimer.h
2014-11-19 18:54:34 -05:00

25 lines
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