25 lines
501 B
C++
25 lines
501 B
C++
|
/*
|
||
|
* \brief Timestamp implementation for the Genode Timer
|
||
|
* \author Martin Stein
|
||
|
* \date 2016-11-04
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
* Copyright (C) 2016-2017 Genode Labs GmbH
|
||
|
*
|
||
|
* This file is part of the Genode OS framework, which is distributed
|
||
|
* under the terms of the GNU Affero General Public License version 3.
|
||
|
*/
|
||
|
|
||
|
/* Genode includes */
|
||
|
#include <kernel/interface.h>
|
||
|
#include <timer_session/connection.h>
|
||
|
|
||
|
using namespace Genode;
|
||
|
|
||
|
|
||
|
Trace::Timestamp Timer::Connection::_timestamp()
|
||
|
{
|
||
|
return Kernel::time();
|
||
|
}
|