Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /branches/vis12/src/compiler/c-util/fragments/lib-interface-body.in
ViewVC logotype

Annotation of /branches/vis12/src/compiler/c-util/fragments/lib-interface-body.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1824 - (view) (download)

1 : jhr 1706
2 : jhr 1717 /***** Runtime options *****/
3 :    
4 :     //! Set verbose mode
5 :     void @PREFIX@SetVerbose (@PREFIX@World_t *wrld, bool mode);
6 :    
7 :     //! Get verbose mode
8 :     bool @PREFIX@GetVerbose (@PREFIX@World_t *wrld);
9 :    
10 : jhr 1700 /***** World query operations *****/
11 :    
12 :     //! Return the total number of strands (active+stable) in the world
13 : jhr 1717 uint32_t @PREFIX@NumStrands (@PREFIX@World_t *wrld);
14 : jhr 1700
15 :     //! Return the total number of active strands
16 : jhr 1717 uint32_t @PREFIX@NumActive (@PREFIX@World_t *wrld);
17 : jhr 1700
18 :     //! Return the total number of stable strands
19 : jhr 1717 uint32_t @PREFIX@NumStable (@PREFIX@World_t *wrld);
20 : jhr 1700
21 :     /***** Program running operations *****/
22 :    
23 :     //! Create and allocate the program's world
24 : jhr 1718 @PREFIX@World_t *@PREFIX@Init ();
25 : jhr 1700
26 : jhr 1718 //! Initiaize the globals and create the initial set of strands
27 :     //! \param wrld the world-state of the Diderot program
28 :     //! \return true if there are any errors
29 :     bool @PREFIX@Initially (@PREFIX@World_t *wrld);
30 : jhr 1700
31 :     //! Run the Diderot program
32 :     //! \param wrld the world-state of the Diderot program
33 :     //! \param maxNSteps the limit on the number of super steps; 0 means unlimited
34 :     //! \return the number of steps taken.
35 : jhr 1717 uint32_t @PREFIX@Run (@PREFIX@World_t *wrld, uint32_t maxNSteps);
36 : jhr 1700
37 :     //! shutdown and deallocate the world
38 :     void @PREFIX@Shutdown (@PREFIX@World_t *wrld);

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0