Profile the grounding process.
More...
Profile the grounding process.
For an example, see profile.c.
◆ clingo_profile_type_e
Enumeration for entries of the stats.
| Enumerator |
|---|
| clingo_profile_type_step | indicate per step values
|
| clingo_profile_type_accu | indicate accumulated values
|
◆ clingo_control_profile()
| CLINGO_VISIBILITY_DEFAULT bool clingo_control_profile |
( |
clingo_control_t const * |
control, |
|
|
clingo_profile_visitor_t const * |
visit, |
|
|
void * |
data |
|
) |
| |
Visit the profiling data of a control object.
- Parameters
-
| [in] | control | the target control object |
| [in] | visit | the visitor to call for each entry |
| [in] | data | user data for the visitor |
- Returns
- whether the call was successful