ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/lib/outil/src/ot_cpu.h
Revision: 410
Committed: Fri Jul 5 21:03:49 2013 UTC (11 years, 10 months ago) by francois
Content type: text/plain
File size: 915 byte(s)
Log Message:
ajout de XFEM_TRIANGLE3
Ajout de flags dans FEM_ELEMENT_MAILLAGE
Correction de bug dans FEM_MAILLAGE_OUTILS

File Contents

# User Rev Content
1 francois 277 #ifndef ot_CPU
2     #define ot_CPU
3    
4    
5     #ifdef WINDOWS_VERSION
6 francois 283 #ifdef BUILT_DLL_OUTIL
7     #define DLLPORTOUTIL __declspec(dllexport)
8 francois 277 #else
9 francois 283 #define DLLPORTOUTIL __declspec(dllimport)
10 francois 277 #endif
11 francois 283 #else
12     #define DLLPORTOUTIL
13     #endif
14 francois 277
15     #include <vector>
16     #include <string>
17    
18     class DLLPORTOUTIL OT_CPU
19     {
20     public:
21 francois 283 OT_CPU();
22     OT_CPU(OT_CPU &mdd);
23     ~OT_CPU();
24 francois 277
25    
26 francois 283 void initialise(void);
27 francois 410 double ajouter_etape(std::string nom);
28 francois 283 int get_nb_etape(void);
29     void get_etape(int num,std::string &nom,double &temps);
30     void get_etape(int num1,int num2,std::string &nom,double &temps);
31     void get_total(int num,double &temps);
32     void get_tabfinal(std::vector<std::string> &tab);
33     void get_tabfinalcompresse(std::vector<std::string> &tab);
34     void get_etape(std::string nom,double &temps);
35     void enregistrer(char* fichier);
36 francois 277 private:
37 francois 283 std::vector<clock_t> tabcpu;
38     std::vector<std::string> tabnom;
39 francois 277
40    
41     };
42    
43    
44    
45    
46    
47    
48    
49 francois 283 #endif