00001 /***************************************************************************** 00002 * Copyright (c) 1997, 2008 Intel Corporation. 00003 * All rights reserved. This program and the accompanying materials 00004 * are made available under the terms of the Eclipse Public License v1.0 00005 * which accompanies this distribution, and is available at 00006 * http://www.eclipse.org/legal/epl-v10.html 00007 * 00008 * Contributors: 00009 * Intel Corporation - Initial API and implementation 00010 * 00011 * $Id$ 00012 *****************************************************************************/ 00013 00321 #ifndef _MRTE_MPI_BASE_H 00322 #define _MRTE_MPI_BASE_H 00323 00324 namespace Martini { namespace MPI { 00325 00339 typedef unsigned int TEventType; 00340 00341 const TEventType EV_NONE = 0; 00342 const TEventType EV_METHOD_ENTER = 1; 00343 const TEventType EV_METHOD_LEAVE = 2; 00344 const TEventType EV_NEW_METHOD = 3; 00345 const TEventType EV_JITTED_METHOD_LOADED = 4; 00346 const TEventType EV_JITTED_METHOD_UNLOADED = 5; 00347 const TEventType EV_THREAD_START = 6; 00348 const TEventType EV_THREAD_END = 7; 00349 const TEventType EV_OBJECT_ALLOC = 8; 00350 const TEventType EV_OBJECT_FREE = 9; 00351 const TEventType EV_GC_START = 10; 00352 const TEventType EV_GC_END = 11; 00353 const TEventType EV_GC_MOVED_REFERENCES = 12; 00354 const TEventType EV_VM_INIT = 13; 00355 const TEventType EV_VM_SHUTDOWN = 14; 00356 const TEventType EV_DOTNET_METHOD_INSTRUMENTATION_POINT = 15; 00357 const TEventType EV_DOTNET_MODULE_UNLOAD_STARTED = 16; 00358 const TEventType EV_DOTNET_MODULE_LOAD_FINISHED = 17; 00359 const TEventType EV_JAVA_DYNAMIC_CODE_GENERATED = 18; 00360 const TEventType EV_EC_START = 19; 00361 const TEventType EV_EC_STOP = 20; 00362 const TEventType EV_EC_SET_OUTPUT_DIRECTORY = 21; 00363 const TEventType EV_EC_ATTACH = 22; 00364 const TEventType EV_EC_DETACH = 23; 00365 const TEventType EV_EC_CUSTOM_COMMAND = 24; 00366 const TEventType EV_MONITOR_WAIT = 25; 00367 const TEventType EV_MONITOR_WAITED = 26; 00368 const TEventType EV_CONTENDED_MONITOR_ENTER = 27; 00369 const TEventType EV_CONTENDED_MONITOR_ENTERED = 28; 00370 const TEventType EV_JAVA_CLASS_FILE_LOAD_HOOK = 29; 00371 const TEventType EV_THREAD_INTERACTION = 30; 00372 const TEventType EV_LAST = 31; 00374 00378 typedef U32 BitSet; 00379 00381 // Generic Event Filter Definitions 00383 00390 class IEventFilter 00391 { 00392 public: 00396 enum EFilterType 00397 { 00398 FT_CALLGRAPH, 00399 FT_HEAP, 00400 FT_THREAD_INTERACTION 00401 }; 00402 00411 virtual EFilterType Type() = 0; 00412 }; 00413 00414 }}; 00415 00416 #endif
(C) Copyright Intel Corporation 2007-2008. All Rights Reserved.
Generated on Thu Mar 6 15:07:54 2008 for Martini by