English 中文(简体)
如何在C#中打上真正的时间锁?
原标题:how to get a real time clock in C#?
  • 时间:2010-05-10 05:46:01
  •  标签:
  • c#

i 要求有确切的缩略微秒钟,能够做到吗?

除了停止监视之外,还有实际时间锁;

最佳回答

请注意System.Diagnostics.Stopwatch,可准确衡量微观周期(取决于硬件限制)。

问题回答

如果你想要一个好的时间,我认为,把高语言混为一谈可能不是一个好的想法。 您可以召集一个简单的方案,通过一个图书馆将该方案与你的方案联系起来。 这实际上就是你可以想象的最好情景。 反之,但要求某些低水平的人知道如何团结起来。

如果你没有互联网接入,而且你希望有实时时间获得软件的适时试验许可,那么你就可以使用Uwgle而不使用实时锁。

其时间计算由内部锁组驱动。 你们可以利用与这些类型的东dong结合的APIC功能从Umgle获得时间。

EX-





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...