clock()在24,8天的进程正常运行时间后返回错误 [英] clock() returns error after 24,8 days of process uptime

查看:79
本文介绍了clock()在24,8天的进程正常运行时间后返回错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于更新到Visual C ++ 2015运行时,clock()函数已开始返回-1,而不是在24.8天的进程正常运行时间之后滚动。这是设计的吗?有什么我可以做的让它再次起作用吗?

Since updating to Visual C++ 2015 runtime the clock() functions has started to return -1 instead of rolling over after 24.8 days of process uptime. Is that by design? Is there anything I can do to make it work again?

推荐答案

你好,

 我认为你得到的价值是设计的。请参阅下面的链接;

 I think the value you get is by design. See link below;

https://msdn.microsoft.com/en-us/library/4e2ess30.aspx?f=255& MSPPError = -2147217396

https://msdn.microsoft.com/en-us/library/4e2ess30.aspx?f=255&MSPPError=-2147217396

 另请特别注意备注部分。

 Also take special note to the Remarks section.

 希望这有助于:)

 Hope this Helps :)


这篇关于clock()在24,8天的进程正常运行时间后返回错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆