Lines Matching refs:CLG_
65 dir = CLG_(get_out_directory)(); in setup_control()
66 out_file = CLG_(get_out_file)(); in setup_control()
152 void CLG_(init_command)() in CLG_() function
158 void CLG_(finish_command)() in CLG_() function
229 int t = CLG_(current_tid); in dump_state_of_thread()
236 CLG_(init_cost_lz)( CLG_(sets).full, &sum ); in dump_state_of_thread()
237 CLG_(copy_cost_lz)( CLG_(sets).full, &tmp, ti->lastdump_cost ); in dump_state_of_thread()
238 CLG_(add_diff_cost)( CLG_(sets).full, sum, in dump_state_of_thread()
241 CLG_(copy_cost)( CLG_(sets).full, ti->lastdump_cost, tmp ); in dump_state_of_thread()
242 p += CLG_(sprint_mappingcost)(buf + p, CLG_(dumpmap), sum); in dump_state_of_thread()
247 CLG_(current_call_stack).sp); in dump_state_of_thread()
250 for(i = 0; i < CLG_(current_call_stack).sp; i++) { in dump_state_of_thread()
251 ce = CLG_(get_call_entry)(i); in dump_state_of_thread()
265 CLG_(copy_cost)( CLG_(sets).full, sum, ce->jcc->cost ); in dump_state_of_thread()
266 CLG_(copy_cost)( CLG_(sets).full, tmp, ce->enter_cost ); in dump_state_of_thread()
267 CLG_(add_diff_cost)( CLG_(sets).full, sum, in dump_state_of_thread()
268 ce->enter_cost, CLG_(current_state).cost ); in dump_state_of_thread()
269 CLG_(copy_cost)( CLG_(sets).full, ce->enter_cost, tmp ); in dump_state_of_thread()
272 p += CLG_(sprint_mappingcost)(buf + p, CLG_(dumpmap), sum ); in dump_state_of_thread()
290 Int orig_tid = CLG_(current_tid); in dump_state()
295 CLG_(instrument_state) ? "on":"off"); in dump_state()
298 if (!CLG_(instrument_state)) return fd; in dump_state()
300 VG_(sprintf)(buf, "executed-bbs: %llu\n", CLG_(stat).bb_executions); in dump_state()
303 VG_(sprintf)(buf, "executed-calls: %llu\n", CLG_(stat).call_counter); in dump_state()
306 VG_(sprintf)(buf, "distinct-bbs: %d\n", CLG_(stat).distinct_bbs); in dump_state()
309 VG_(sprintf)(buf, "distinct-calls: %d\n", CLG_(stat).distinct_jccs); in dump_state()
312 VG_(sprintf)(buf, "distinct-functions: %d\n", CLG_(stat).distinct_fns); in dump_state()
315 VG_(sprintf)(buf, "distinct-contexts: %d\n", CLG_(stat).distinct_contexts); in dump_state()
320 CLG_(sprint_eventmapping)(buf+p, CLG_(dumpmap)); in dump_state()
325 VG_(sprintf)(buf, "\npart: %d\n", CLG_(get_dump_counter)()); in dump_state()
329 th = CLG_(get_threads)(); in dump_state()
343 CLG_(forall_threads)(dump_state_of_thread); in dump_state()
348 void CLG_(check_command)() in CLG_() function
426 CLG_(clo).verbose = value; in CLG_()
447 CLG_(set_instrument_state)("Command", value); in CLG_()
470 CLG_(dump_profile)(buf, False); in CLG_()
475 CLG_(zero_all_cost)(False); in CLG_()
500 CLG_(clo).skip_plt ? "yes" : "no"); in CLG_()
503 CLG_(clo).collect_jumps ? "yes" : "no"); in CLG_()
506 CLG_(clo).separate_recursions); in CLG_()
509 CLG_(clo).separate_callers); in CLG_()
529 CLG_(fini)(0); in CLG_()