33 lines
603 B
C#
Raw Normal View History

using System;
using ANX.Framework.NonXNA.PlatformSystem;
using System.Diagnostics;
// This file is part of the ANX.Framework created by the
// "ANX.Framework developer group" and released under the Ms-PL license.
// For details see: http://anxframework.codeplex.com/license
namespace ANX.PlatformSystem.Linux
{
public class LinuxGameTimer : INativeGameTimer
{
#region Public
public long Frequency
{
get
{
return Stopwatch.Frequency;
}
}
public long Timestamp
{
get
{
return Stopwatch.GetTimestamp();
}
}
#endregion
}
}