1 /*******************************************************************************
2 * Copyright (c) 2016 Ericsson
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *******************************************************************************/
10 package org
.eclipse
.tracecompass
.analysis
.os
.linux
.core
.signals
;
12 import org
.eclipse
.tracecompass
.tmf
.core
.signal
.TmfSignal
;
13 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.ITmfTrace
;
16 * A signal to say a computer core was selected
18 * @author Matthew Khouzam
21 public class TmfCpuSelectedSignal
extends TmfSignal
{
23 private final int fCore
;
24 private final String fHostId
;
34 * the current trace that the cpu belongs to
36 public TmfCpuSelectedSignal(Object source
, int core
, ITmfTrace trace
) {
39 fHostId
= trace
.getHostId();
45 * @return the core number
47 public int getCore() {
52 * Get the trace host id
54 * @return the trace host id
56 public String
getHostId() {
This page took 0.03158 seconds and 5 git commands to generate.