Update of /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi
In directory usw-pr-cvs1:/tmp/cvs-serv14553
Added Files:
Constants.java
Log Message:
Constants used in JPI
--- NEW FILE: Constants.java ---
/*
* Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License Version
* 1.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is available at http://www.sun.com/
*
* The Original Code is the Java Profiler module.
* The Initial Developers of the Original Code are Jan Stola, Pavel Vacha,
* Michal Pise, Petr Luner, Lukas Petru and Marek Przeczek.
* Portions created by Jan Stola are Copyright (C) 2000-2001. All Rights Reserved.
* Portions created by Pavel Vacha are Copyright (C) 2000-2001. All Rights Reserved.
* Portions created by Michal Pise are Copyright (C) 2000-2001. All Rights Reserved.
* Portions created by Petr Luner are Copyright (C) 2000-2001. All Rights Reserved.
* Portions created by Lukas Petru are Copyright (C) 2000-2001. All Rights Reserved.
* Portions created by Marek Przeczek are Copyright (C) 2000-2001. All Rights Reserved.
*
* Contributors: Jan Stola, Pavel Vacha, Michal Pise, Petr Luner,
* Lukas Petru and Marek Przeczek.
*/
package net.sourceforge.javaprofiler.jpi;
/**
* Constants used in JPI
* @author Pavel Vacha
*/
public interface Constants {
static final int NONE = 0;
static final int CPU = 1;
static final int ALLOC = 2;
static final int MON = 4;
static final int TYPE = 8;
static final int THREAD = 16;
static final int METHOD = 32;
static final int TRACE = 64;
static final int CLASS = 128;
static final int THREADGROUP = 256;
static final int GCRUN = 512;
static final int CALLTREE = 1024;
static final int FRAME = 2048;
static final int FIELD = 4096;
static final int CPU_TRACE = CPU | TRACE;
static final int ALLOC_TRACE = ALLOC | TRACE;
static final int MON_TRACE = MON | TRACE;
static final int CPU_THREAD_METHOD = CPU | THREAD | METHOD;
static final int ALLOC_THREAD_METHOD = ALLOC | THREAD | METHOD;
static final int MON_THREAD_METHOD = MON | THREAD | METHOD;
static final int CPU_THREAD_TRACE = CPU | THREAD | TRACE;
static final int ALLOC_THREAD_TRACE = ALLOC | THREAD | TRACE;
static final int MON_THREAD_TRACE = MON | THREAD | TRACE;
static final int ALLOC_TYPE_METHOD = ALLOC | TYPE | METHOD;
static final int ALLOC_TYPE_TRACE = ALLOC | TYPE | TRACE;
static final int ALLOC_TYPE_THREAD = ALLOC | TYPE | THREAD;
static final int ALLOC_TYPE_THREAD_METHOD = ALLOC | TYPE | THREAD | METHOD;
static final int ALLOC_TYPE_THREAD_TRACE = ALLOC | TYPE | THREAD | TRACE;
}
|