Scheduler and time are imported from ndn-cpp-dev. Forwarder is using the new scheduler API. Face system is not transitioned yet. refs #1290 Change-Id: I5679cb50bbf9890a105f663b038f13951403c2b6
29 lines
621 B
C++
29 lines
621 B
C++
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
|
|
/**
|
|
* Copyright (C) 2014 Named Data Networking Project
|
|
* See COPYING for copyright and distribution information.
|
|
*/
|
|
|
|
#ifndef NFD_CORE_TIME_H
|
|
#define NFD_CORE_TIME_H
|
|
|
|
#include "common.hpp"
|
|
#include <ndn-cpp-dev/util/time.hpp>
|
|
|
|
namespace nfd {
|
|
namespace time {
|
|
|
|
using ndn::time::Duration;
|
|
using ndn::time::Point;
|
|
using ndn::time::monotonic_clock;
|
|
using ndn::time::now;
|
|
using ndn::time::seconds;
|
|
using ndn::time::milliseconds;
|
|
using ndn::time::microseconds;
|
|
using ndn::time::nanoseconds;
|
|
|
|
} // namespace time
|
|
} // namespace nfd
|
|
|
|
#endif // NFD_CORE_TIME_H
|