source: src/Common/Stats/ResolveTime.hpp @ b6f2e7ab

Last change on this file since b6f2e7ab was c92bdcc, checked in by Andrew Beach <ajbeach@…>, 6 months ago

Updated the rest of the names in src/ (except for the generated files).

  • Property mode set to 100644
File size: 746 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2019 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// ResolveTime.hpp --
8//
9// Author           : Thierry Delisle
10// Created On       : Wed Sep 16 15:45:51 2020
11// Last Modified By :
12// Last Modified On :
13// Update Count     :
14//
15
16#pragma once
17
18#include "Common/Stats/Base.hpp"
19
20#if defined( NO_STATISTICS )
21        #define NO_RESOLVE_TIME_STATISTICS
22#endif
23
24namespace ast {
25        class Expr;
26}
27
28namespace Stats {
29        namespace ResolveTime {
30                #if defined(NO_RESOLVE_TIME_STATISTICS)
31                        void start( const ast::Expr * ) {}
32                        void stop() {}
33                #else
34                        void start( const ast::Expr * );
35                        void stop();
36                #endif
37        };
38};
Note: See TracBrowser for help on using the repository browser.