1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: dbg_Enum.h 4 5 Copyright (C)2009 Nintendo Co., Ltd. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Rev: 18249 $ 14 *---------------------------------------------------------------------------*/ 15 16 /*! 17 @file 18 19 :include nn/dbg.h 20 */ 21 22 #ifndef NN_DBG_DBG_ENUM_H_ 23 #define NN_DBG_DBG_ENUM_H_ 24 25 //------------------------------------------------------------------- 26 // for C / C++ 27 28 #ifdef __cplusplus 29 30 namespace nn { namespace dbg { 31 32 /*! 33 @enum BreakReason 34 35 @brief 一時停止の理由を示します。 36 */ 37 enum BreakReason 38 { 39 BREAK_REASON_PANIC, //!< パニック 40 BREAK_REASON_ASSERT, //!< アサート 41 BREAK_REASON_USER //!< ユーザ 42 }; 43 44 enum PerformanceCounterOperation 45 { 46 PERFORMANCE_COUNTER_OPERATION_ACQUIRE_CONTROL, 47 PERFORMANCE_COUNTER_OPERATION_RELEASE_CONTROL, 48 PERFORMANCE_COUNTER_OPERATION_GET_VALUE, 49 PERFORMANCE_COUNTER_OPERATION_SET_VALUE, 50 PERFORMANCE_COUNTER_OPERATION_GET_OVERFLOW, 51 PERFORMANCE_COUNTER_OPERATION_RESET, 52 PERFORMANCE_COUNTER_OPERATION_GET_EVENT, 53 PERFORMANCE_COUNTER_OPERATION_SET_EVENT, 54 PERFORMANCE_COUNTER_OPERATION_USE_VIRTUAL_COUNTER, 55 56 PERFORMANCE_COUNTER_OPERATION_MAX_BIT = (1u << 31) 57 }; 58 }} 59 60 #endif // ifdef __cplusplus 61 62 #endif /* NN_DBG_DBG_ENUM_H_ */ 63