2 * print_vcpu_state.cc --
4 * Implementation of the observer that prints the VCPU state upon each
7 * (c) 2011-2012 Björn Döbel <doebel@os.inf.tu-dresden.de>,
8 * economic rights: Technische Universität Dresden (Germany)
9 * This file is part of TUD:OS and distributed under the terms of the
10 * GNU General Public License 2.
11 * Please see the COPYING-GPL-2 file for details.
14 #include "observers.h"
16 /*****************************************************************
18 *****************************************************************/
19 DEFINE_EMPTY_STARTUP(PrintVCPUStateObserver)
21 Romain::Observer::ObserverReturnVal
22 Romain::PrintVCPUStateObserver::notify(Romain::App_instance *,
23 Romain::App_thread *t,
24 Romain::Thread_group *tg,
27 t->print_vcpu_state();
28 return Romain::Observer::Continue;
31 void Romain::PrintVCPUStateObserver::status() const { }