Commit | Line | Data |
---|---|---|
4a74f111 MG |
1 | /******************************************************************************* |
2 | * Copyright (c) 2014 École Polytechnique de Montréal | |
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 | * Mohamad Gebai - Initial API and implementation | |
11 | * Geneviève Bastien - Initial API and implementation | |
12 | *******************************************************************************/ | |
13 | ||
14 | package org.eclipse.tracecompass.internal.lttng2.kernel.core.analysis.vm; | |
15 | ||
16 | /** | |
17 | * State system values used by the VM analysis | |
18 | * | |
19 | * @author Mohamad Gebai | |
20 | */ | |
21 | public interface VcpuStateValues { | |
22 | ||
23 | /* VCPU Status */ | |
24 | /** The virtual CPU state is unknown */ | |
25 | int VCPU_UNKNOWN = 0; | |
26 | /** The virtual CPU is idle */ | |
27 | int VCPU_IDLE = 1; | |
28 | /** The virtual CPU is running */ | |
29 | int VCPU_RUNNING = 2; | |
30 | /** Flag for when the virtual CPU is in hypervisor mode */ | |
31 | int VCPU_VMM = 128; | |
32 | /** Flag for when the virtual CPU is preempted */ | |
33 | int VCPU_PREEMPT = 256; | |
34 | ||
35 | } |