#include "llvm/ADT/StringMap.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Mutex.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/Mutex.h"
//===----------------------------------------------------------------------===//
void Timer::init(StringRef N) {
//===----------------------------------------------------------------------===//
void Timer::init(StringRef N) {
Name.assign(N.begin(), N.end());
Started = false;
TG = getDefaultTimerGroup();
Name.assign(N.begin(), N.end());
Started = false;
TG = getDefaultTimerGroup();
TimerGroup::~TimerGroup() {
// If the timer group is destroyed before the timers it owns, accumulate and
// print the timing data.
TimerGroup::~TimerGroup() {
// If the timer group is destroyed before the timers it owns, accumulate and
// print the timing data.