2014-09-04 07:44:53 +04:00
|
|
|
/* include/g/t.h
|
|
|
|
**
|
|
|
|
** This file is in the public domain.
|
|
|
|
*/
|
|
|
|
/** Tracing.
|
|
|
|
**/
|
2014-09-06 00:13:24 +04:00
|
|
|
/* u3_ct_push(): push on trace stack.
|
2014-09-04 07:44:53 +04:00
|
|
|
*/
|
|
|
|
void
|
2014-09-06 00:13:24 +04:00
|
|
|
u3_ct_push(u3_noun mon);
|
2014-09-04 07:44:53 +04:00
|
|
|
|
2014-09-06 00:13:24 +04:00
|
|
|
/* u3_ct_mean(): push `[%mean roc]` on trace stack.
|
2014-09-04 07:44:53 +04:00
|
|
|
*/
|
|
|
|
void
|
2014-09-06 00:13:24 +04:00
|
|
|
u3_ct_mean(u3_noun roc);
|
2014-09-04 07:44:53 +04:00
|
|
|
|
2014-09-06 00:13:24 +04:00
|
|
|
/* u3_ct_drop(): drop from meaning stack.
|
2014-09-04 07:44:53 +04:00
|
|
|
*/
|
|
|
|
void
|
2014-09-06 00:13:24 +04:00
|
|
|
u3_ct_drop(void);
|
2014-09-04 07:44:53 +04:00
|
|
|
|
2014-09-06 00:13:24 +04:00
|
|
|
/* u3_ct_slog(): print directly.
|
2014-09-04 07:44:53 +04:00
|
|
|
*/
|
|
|
|
void
|
2014-09-06 00:13:24 +04:00
|
|
|
u3_ct_slog(u3_noun hod);
|
2014-09-04 07:44:53 +04:00
|
|
|
|
2014-09-27 04:27:35 +04:00
|
|
|
/* u3_ct_heck(): profile point.
|
|
|
|
*/
|
|
|
|
void
|
|
|
|
u3_ct_heck(u3_atom cog);
|
|
|
|
|
|
|
|
/* u3_ct_samp(): sample.
|
|
|
|
*/
|
|
|
|
void
|
|
|
|
u3_ct_samp(void);
|
|
|
|
|
|
|
|
/* u3_ct_come(): push on profile stack.
|
|
|
|
*/
|
|
|
|
void
|
|
|
|
u3_ct_come(u3_atom cog);
|
|
|
|
|
|
|
|
/* u3_ct_flee(): pop off profile stack.
|
|
|
|
*/
|
|
|
|
void
|
|
|
|
u3_ct_flee(void);
|
|
|
|
|
|
|
|
/* u3_ct_damp(): print and clear profile data.
|
|
|
|
*/
|
|
|
|
void
|
|
|
|
u3_ct_damp(void);
|
|
|
|
|
|
|
|
/* u3_ct_boff(): turn profile sampling off.
|
|
|
|
*/
|
|
|
|
void
|
|
|
|
u3_ct_boff(void);
|
|
|
|
|
|
|
|
/* u3_ct_boot(): turn sampling on.
|
|
|
|
*/
|
|
|
|
void
|
|
|
|
u3_ct_boot(void);
|