GCC Middle and Back End API Reference
dbgcnt.h File Reference
#include "dbgcnt.def"
Include dependency graph for dbgcnt.h:

Go to the source code of this file.

Macros

#define DEBUG_COUNTER(a)   a,
 

Enumerations

enum  debug_counter { debug_counter_number_of_counters }
 

Functions

bool dbg_cnt_is_enabled (enum debug_counter index)
 
bool dbg_cnt (enum debug_counter index)
 
unsigned dbg_cnt_counter (enum debug_counter index)
 
void dbg_cnt_process_opt (const char *arg)
 
void dbg_cnt_list_all_counters (void)
 

Macro Definition Documentation

◆ DEBUG_COUNTER

#define DEBUG_COUNTER ( a)    a,
Debug counter for debugging support
   Copyright (C) 2006-2024 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.

See dbgcnt.def for usage information.   

Enumeration Type Documentation

◆ debug_counter

Enumerator
debug_counter_number_of_counters 

Function Documentation

◆ dbg_cnt()

bool dbg_cnt ( enum debug_counter index)
extern

◆ dbg_cnt_counter()

unsigned dbg_cnt_counter ( enum debug_counter index)
extern
Return the counter for INDEX.   

References count.

Referenced by dump_jump_thread_path().

◆ dbg_cnt_is_enabled()

bool dbg_cnt_is_enabled ( enum debug_counter index)
extern

◆ dbg_cnt_list_all_counters()

void dbg_cnt_list_all_counters ( void )
extern
Print name, limit and count of all counters.    

References count, debug_counter_number_of_counters, G_, ggc_alloc(), i, map, string2counter_map::name, and original_limits.

Referenced by finalize().

◆ dbg_cnt_process_opt()

void dbg_cnt_process_opt ( const char * arg)
extern