Esempio n. 1
0
int
_windows_get_memory_info( PAPI_hw_info_t * hwinfo, int cpu_type )
{
	( void ) cpu_type;		 /*unused */
	int retval = PAPI_OK;

	x86_get_memory_info( hwinfo );

	return retval;
}
Esempio n. 2
0
int 
_freebsd_get_memory_info( PAPI_hw_info_t *hw_info, int id)
{
	UNREFERENCED(id);
	UNREFERENCED(hw_info);

#if defined(__i386__)||defined(__x86_64__)
        x86_get_memory_info( hw_info );
#endif

	return PAPI_ENOIMPL;
}