Lattice Microbes 2.5
This is for whole cell modeling
Loading...
Searching...
No Matches
ProfileCodes.h
Go to the documentation of this file.
1/*
2 * University of Illinois Open Source License
3 * Copyright 2010-2018 Luthey-Schulten Group,
4 * All rights reserved.
5 *
6 * Developed by: Luthey-Schulten Group
7 * University of Illinois at Urbana-Champaign
8 * http://www.scs.uiuc.edu/~schulten
9 *
10 * Permission is hereby granted, free of charge, to any person obtaining a copy of
11 * this software and associated documentation files (the Software), to deal with
12 * the Software without restriction, including without limitation the rights to
13 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
14 * of the Software, and to permit persons to whom the Software is furnished to
15 * do so, subject to the following conditions:
16 *
17 * - Redistributions of source code must retain the above copyright notice,
18 * this list of conditions and the following disclaimers.
19 *
20 * - Redistributions in binary form must reproduce the above copyright notice,
21 * this list of conditions and the following disclaimers in the documentation
22 * and/or other materials provided with the distribution.
23 *
24 * - Neither the names of the Luthey-Schulten Group, University of Illinois at
25 * Urbana-Champaign, nor the names of its contributors may be used to endorse or
26 * promote products derived from this Software without specific prior written
27 * permission.
28 *
29 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
32 * THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
33 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
34 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
35 * OTHER DEALINGS WITH THE SOFTWARE.
36 *
37 * Author(s): Elijah Roberts
38 */
39#ifndef TIMINGCONSTANTS_H_
40#define TIMINGCONSTANTS_H_
41
42#define PROF_THREAD_VARIABLE_START 3
43
44#define PROF_MAIN_RUN 1
45#define PROF_SIM_RUN 2
46
47#define PROF_MASTER_READ_STATIC_MSG 3
48#define PROF_MASTER_READ_FINISHED_MSG 4
49#define PROF_MASTER_FINISHED_THREAD 5
50#define PROF_MASTER_SLEEP 6
51
52#define PROF_REPLICATE_EXECUTE 10
53#define PROF_REPLICATE_WRITE_DATASET 11
54
55#define PROF_DATAOUTPUT_RUN 100
56#define PROF_DATAOUTPUT_WRITE_DATASET 101
57#define PROF_DATAOUTPUT_HDF_WRITE_COUNTS 110
58#define PROF_DATAOUTPUT_HDF_WRITE_FPT 111
59#define PROF_DATAOUTPUT_HDF_WRITE_PV 112
60#define PROF_DATAOUTPUT_HDF_WRITE_LATTICE 113
61
62#define PROF_SLAVE_SLEEP 200
63
64#define PROF_SIM_EXECUTE 299
65#define PROF_SERIALIZE_COUNTS 300
66#define PROF_SERIALIZE_FPT 301
67#define PROF_DESERIALIZE_COUNTS 302
68#define PROF_DESERIALIZE_FPT 303
69#define PROF_SERIALIZE_PV 304
70#define PROF_DESERIALIZE_PV 305
71#define PROF_SERIALIZE_LATTICE 306
72#define PROF_DESERIALIZE_LATTICE 307
73#define PROF_DETERMINE_COUNTS 308
74
75#define PROF_INIT_XORWOW_RNG 324
76#define PROF_GENERATE_XORWOW_RNG 325
77#define PROF_CACHE_RNG 326
78#define PROF_LAUNCH_XORWOW_RNG 327
79#define PROF_COPY_XORWOW_RNG 328
80#define PROF_COPY_XORWOW_EXP_RNG 329
81#define PROF_COPY_XORWOW_NORM_RNG 330
82#define PROF_CACHE_EXP_RNG 331
83
84#define PROF_MPD_TIMESTEP 500
85#define PROF_MPD_X_DIFFUSION 501
86#define PROF_MPD_Y_DIFFUSION 502
87#define PROF_MPD_Z_DIFFUSION 503
88#define PROF_MPD_REACTION 504
89#define PROF_MPD_SYNCHRONIZE 505
90#define PROF_MPD_OVERFLOW 506
91
92#define PROF_BARRIER 550
93
94#define PROF_MCLKR_TS_LOOP 551
95#define PROF_MCLKR_PUBLISH 552
96#define PROF_MCLKR_OVERFLOWS 553
97#define PROF_MCLKR_DDX 554
98
99#define PROF_D2H 555
100#define PROF_H2D 556
101#define PROF_D2D 557
102#define PROF_CONST 558
103#define PROF_FETCH_EX 569
104
105#define PROF_XD1 570
106#define PROF_XD2 571
107#define PROF_XD3 572
108#define PROF_RX1 573
109#define PROF_RX2 574
110#define PROF_RX3 575
111
112#define PROF_MRBASE 576
113#define PROF_MR1 576
114#define PROF_MR2 577
115#define PROF_MSBASE 578
116#define PROF_MS1 578
117#define PROF_MS2 579
118
119
120#define PROF_NSM_INIT_QUEUE 600
121#define PROF_NSM_BUILD_QUEUE 601
122#define PROF_NSM_LOOP 602
123
124
125#endif /* TIMINGCONSTANTS_H_ */