1 /*******************************************************************************
2 * Copyright (c) 2014, 2015 Ericsson
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
10 * Alexandre Montplaisir - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.ctf
.core
.event
.aspect
;
15 import org
.eclipse
.tracecompass
.tmf
.core
.event
.ITmfEvent
;
16 import org
.eclipse
.tracecompass
.tmf
.core
.event
.aspect
.TmfCpuAspect
;
17 import org
.eclipse
.tracecompass
.tmf
.ctf
.core
.event
.CtfTmfEvent
;
20 * "CPU" event aspect for CTF traces.
22 * @author Alexandre Montplaisir
24 public class CtfCpuAspect
extends TmfCpuAspect
{
27 public Integer
resolve(ITmfEvent event
) {
28 if (!(event
instanceof CtfTmfEvent
)) {
31 int cpu
= ((CtfTmfEvent
) event
).getCPU();
This page took 0.032015 seconds and 5 git commands to generate.