/*---------------------------------------------------------------------------* Project: Nintendo IO Profiler Shim Library File: io_profstat.h Description: This file provides data structure definitions for the IO Profiler APIs. Copyright (C) Nintendo. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. *---------------------------------------------------------------------------*/ #ifdef __ghs__ #include #endif #ifndef IO_PROFSTAT_H #define IO_PROFSTAT_H #ifdef __cplusplus extern "C" { #endif /*---------------------------------------------------------------------------* Constants defined for this file -- #Defines -- -----------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------* Data types defined for this file -- Structs, Typedefs, Enums -- ---------------------------------------------------------------------------*/ typedef enum { IO_CHANNEL_USB = 0, IO_CHANNEL_NET = 1, /* Network */ IO_CHANNEL_CONTROLLER = 2, IO_CHANNEL_SECIO = 3, /* Secure IO(SSL) */ IO_CHANNEL_FS = 4, /* File System */ IO_CHANNEL_SYS = 5, /* System services */ IO_CHANNEL_FIRST_UNUSED = 6 } IOChannelID; #define IO_PROF_MAX_IO_CHANNELS (IO_CHANNEL_FIRST_UNUSED) typedef struct io_profstat_ { /* IO Channel ID */ IOChannelID channel; /* Percentage IO bandwidth consumed by the channel */ float percentBandwidth; } PACKED_STRUCT_ATTRIBUTE IO_ProfStat; #ifdef __cplusplus } #endif #endif /* IO_PROFSTAT_H */