mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 17:54:43 +00:00
Reorganizing source code. Created util dir
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
630ba0c675
commit
2c464d413d
153 changed files with 0 additions and 0 deletions
|
@ -1,40 +0,0 @@
|
|||
/*++
|
||||
Copyright (c) 2006 Microsoft Corporation
|
||||
|
||||
Module Name:
|
||||
|
||||
timer.cpp
|
||||
|
||||
Abstract:
|
||||
|
||||
<abstract>
|
||||
|
||||
Author:
|
||||
|
||||
Leonardo de Moura (leonardo) 2009-01-06.
|
||||
|
||||
Revision History:
|
||||
|
||||
--*/
|
||||
#include"util.h"
|
||||
#include"memory_manager.h"
|
||||
#include"stopwatch.h"
|
||||
#include"timer.h"
|
||||
|
||||
timer::timer(){
|
||||
m_watch = alloc(stopwatch);
|
||||
start();
|
||||
}
|
||||
|
||||
timer::~timer() {
|
||||
dealloc(m_watch);
|
||||
}
|
||||
|
||||
void timer::start() {
|
||||
m_watch->start();
|
||||
}
|
||||
|
||||
double timer::get_seconds() {
|
||||
return m_watch->get_current_seconds();
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue