46
46
#define TIMER_START(val, name) \
47
47
csound->InitTimerStruct(& val ## _timer); \
48
48
csound->Message(csound, name "Start: %f\n", \
49
csound->GetRealTime(& val ## _timer));
49
csound->GetRealTime(& val ## _timer))
50
50
#define TIMER_END(val, name) \
51
51
csound->Message(csound, name "End: %f\n", \
52
csound->GetRealTime(& val ## _timer));
52
csound->GetRealTime(& val ## _timer))
54
54
#define TIMER_T_START(val, index, name) \
55
55
csound->InitTimerStruct(& val ## _timer); \
56
56
csound->Message(csound, "[%i] " name "Start: %f\n", \
57
index, csound->GetRealTime(& val ## _timer));
57
index, csound->GetRealTime(& val ## _timer))
58
58
#define TIMER_T_END(val, index, name) \
59
59
csound->Message(csound, "[%i] " name "End: %f\n", \
60
index, csound->GetRealTime(& val ## _timer));
60
index, csound->GetRealTime(& val ## _timer))
62
62
#define TIMER_INIT(val, name)
63
63
#define TIMER_START(val, name)
168
168
int csp_set_print(CSOUND *csound, struct set_t *set);
170
170
/* get a count and access members */
171
int inline csp_set_count(CSOUND *csound, struct set_t *set);
172
int inline csp_set_get_num(CSOUND *csound, struct set_t *set, int num, void **data);
171
extern int inline csp_set_count(CSOUND *csound, struct set_t *set);
172
extern int inline csp_set_get_num(CSOUND *csound, struct set_t *set, int num, void **data);
175
175
* set union and intersection