source: src/Common/Stats/ResolveTime.hpp @ 1f11818

Last change on this file since 1f11818 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
RevLine 
[57e0289]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//
[c92bdcc]7// ResolveTime.hpp --
[57e0289]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
[c92bdcc]18#include "Common/Stats/Base.hpp"
[57e0289]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        };
[c92bdcc]38};
Note: See TracBrowser for help on using the repository browser.