Commit | Line | Data |
---|---|---|
3e97fbfa AM |
1 | /******************************************************************************* |
2 | * Copyright (c) 2012 Ericsson | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are | |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | * | |
9 | * Contributors: | |
10 | * Alexandre Montplaisir - Initial API and implementation | |
11 | ******************************************************************************/ | |
12 | ||
13 | package org.eclipse.linuxtools.internal.lttng2.kernel.core; | |
14 | ||
15 | public class StateValues { | |
16 | ||
17 | /* CPU Status */ | |
18 | public static final int CPU_STATUS_IDLE = 0; | |
19 | public static final int CPU_STATUS_BUSY = 1; | |
20 | public static final int CPU_STATUS_INTERRUPTED = 2; | |
21 | ||
22 | /* Process status */ | |
23 | public static final int PROCESS_STATUS_WAIT = 1; | |
24 | public static final int PROCESS_STATUS_RUN_USERMODE = 2; | |
25 | public static final int PROCESS_STATUS_RUN_SYSCALL = 3; | |
26 | public static final int PROCESS_STATUS_INTERRUPTED = 4; | |
27 | ||
28 | /* SoftIRQ-specific stuff. -1: null/disabled, >= 0: running on that CPU */ | |
29 | public static final int SOFT_IRQ_RAISED = -2; | |
30 | } |