src/core/win32-system-wall-clock-ms.cc
author Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
Sat, 04 Jul 2009 08:15:48 +0200
changeset 4654 2eaebe77d66b
parent 645 07fc20ad3925
permissions -rw-r--r--
Added tag ns-3.5 for changeset c975274c9707
mathieu@150
     1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
mathieu@9
     2
/*
mathieu@9
     3
 * Copyright (c) 2005 INRIA
mathieu@9
     4
 *
mathieu@9
     5
 * This program is free software; you can redistribute it and/or modify
mathieu@9
     6
 * it under the terms of the GNU General Public License version 2 as
mathieu@9
     7
 * published by the Free Software Foundation;
mathieu@9
     8
 *
mathieu@9
     9
 * This program is distributed in the hope that it will be useful,
mathieu@9
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
mathieu@9
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
mathieu@9
    12
 * GNU General Public License for more details.
mathieu@9
    13
 *
mathieu@9
    14
 * You should have received a copy of the GNU General Public License
mathieu@9
    15
 * along with this program; if not, write to the Free Software
mathieu@9
    16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
mathieu@9
    17
 *
mathieu@9
    18
 * Author: Mathieu Lacage <mathieu.lacage.inria.fr>
mathieu@9
    19
 */
mathieu@9
    20
mathieu@34
    21
#include "system-wall-clock-ms.h"
mathieu@9
    22
mathieu@16
    23
namespace ns3 {
mathieu@9
    24
mathieu@34
    25
class SystemWallClockMsPrivate {
mathieu@9
    26
public:
gjc@645
    27
  void Start (void);
gjc@645
    28
  unsigned long long End (void);
mathieu@9
    29
private:
mathieu@9
    30
};
mathieu@9
    31
mathieu@9
    32
void 
mathieu@122
    33
SystemWallClockMsPrivate::Start (void)
mathieu@9
    34
{
mathieu@9
    35
}
mathieu@9
    36
mathieu@9
    37
unsigned long long 
mathieu@122
    38
SystemWallClockMsPrivate::End (void)
mathieu@9
    39
{
mathieu@150
    40
  return 0;
mathieu@9
    41
}
mathieu@9
    42
mathieu@34
    43
SystemWallClockMs::SystemWallClockMs ()
mathieu@150
    44
  : m_priv (new SystemWallClockMsPrivate ())
mathieu@9
    45
{}
mathieu@9
    46
mathieu@34
    47
SystemWallClockMs::~SystemWallClockMs ()
mathieu@9
    48
{
mathieu@150
    49
  delete m_priv;
mathieu@150
    50
  m_priv = 0;
mathieu@9
    51
}
mathieu@9
    52
mathieu@9
    53
void
mathieu@122
    54
SystemWallClockMs::Start (void)
mathieu@9
    55
{
mathieu@150
    56
  m_priv->Start ();
mathieu@9
    57
}
mathieu@9
    58
unsigned long long
mathieu@122
    59
SystemWallClockMs::End (void)
mathieu@9
    60
{
mathieu@150
    61
  return m_priv->End ();
mathieu@9
    62
}
mathieu@9
    63
mathieu@16
    64
}; // namespace ns3