﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-Goteet学习笔记-最新评论</title><link>http://www.cppblog.com/goteet/CommentsRSS.aspx</link><description>我还年轻，我渴望上路。</description><language>zh-cn</language><pubDate>Wed, 24 Mar 2010 14:08:16 GMT</pubDate><lastBuildDate>Wed, 24 Mar 2010 14:08:16 GMT</lastBuildDate><generator>cnblogs</generator><item><title>re: windows下的简易计时工具</title><link>http://www.cppblog.com/goteet/archive/2009/12/24/103491.html#103929</link><dc:creator>Goteet</dc:creator><author>Goteet</author><pubDate>Thu, 24 Dec 2009 05:59:00 GMT</pubDate><guid>http://www.cppblog.com/goteet/archive/2009/12/24/103491.html#103929</guid><description><![CDATA[@Peng.zhang<br>疏忽了..~我现在是双核的，也没有发现太大问题，所以就忽略了.....<br>顺着你说的方向我查了查资料：<br><br>标记一下<br><br>《游戏计时与多核处理器》<br>微软游戏技术组软件设计工程师 Chuck Welbourn<br>http://msdn.microsoft.com/en-us/library/ee417693(VS.85).aspx<br>极光旋影中文翻译<br>http://kennyblog.ycool.com/post.1635967.html<br><br>一些链接<br>http://www.eggheadcafe.com/software/aspnet/30165969/queryperformancecounter.aspx<img src ="http://www.cppblog.com/goteet/aggbug/103929.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/goteet/" target="_blank">Goteet</a> 2009-12-24 13:59 <a href="http://www.cppblog.com/goteet/archive/2009/12/24/103491.html#103929#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: windows下的简易计时工具</title><link>http://www.cppblog.com/goteet/archive/2009/12/24/103491.html#103923</link><dc:creator>Peng.zhang</dc:creator><author>Peng.zhang</author><pubDate>Thu, 24 Dec 2009 05:08:00 GMT</pubDate><guid>http://www.cppblog.com/goteet/archive/2009/12/24/103491.html#103923</guid><description><![CDATA[<br>::QueryPerformanceCounter(reinterpret_cast&lt;LARGE_INTEGER*&gt;(&amp;time));<br><br>有问题，如果是多核的情况，并不准确。需要设置将当前的线程在固定的核运行，以取得精确的Counter<br> <img src ="http://www.cppblog.com/goteet/aggbug/103923.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/goteet/" target="_blank">Peng.zhang</a> 2009-12-24 13:08 <a href="http://www.cppblog.com/goteet/archive/2009/12/24/103491.html#103923#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: windows下的简易计时工具</title><link>http://www.cppblog.com/goteet/archive/2009/12/21/103491.html#103635</link><dc:creator>Goteet</dc:creator><author>Goteet</author><pubDate>Mon, 21 Dec 2009 11:35:00 GMT</pubDate><guid>http://www.cppblog.com/goteet/archive/2009/12/21/103491.html#103635</guid><description><![CDATA[@guest<br>谢谢你的提醒。首先定位在“简易”二字，第二一般服务器很少用windows的吧，只是平时开发客户端的时候用到。等到需要用到的时候，会考虑回滚的问题，到时候在发布吧。或者，你给我一些解决方案？<br><img src ="http://www.cppblog.com/goteet/aggbug/103635.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/goteet/" target="_blank">Goteet</a> 2009-12-21 19:35 <a href="http://www.cppblog.com/goteet/archive/2009/12/21/103491.html#103635#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于Observer模式的一点困惑</title><link>http://www.cppblog.com/goteet/archive/2009/12/21/103529.html#103634</link><dc:creator>Goteet</dc:creator><author>Goteet</author><pubDate>Mon, 21 Dec 2009 11:17:00 GMT</pubDate><guid>http://www.cppblog.com/goteet/archive/2009/12/21/103529.html#103634</guid><description><![CDATA[@eXile<br>Thank u, eXile， 我现在就是使用着这种方式，先保存删除请求，然后在函数调用结束之后释放。我还在考虑能不能用句柄的方式来实现，可是这个Subject本身就需要用户重定义。用句柄不是很方便。<img src ="http://www.cppblog.com/goteet/aggbug/103634.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/goteet/" target="_blank">Goteet</a> 2009-12-21 19:17 <a href="http://www.cppblog.com/goteet/archive/2009/12/21/103529.html#103634#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: windows下的简易计时工具</title><link>http://www.cppblog.com/goteet/archive/2009/12/21/103491.html#103610</link><dc:creator>guest</dc:creator><author>guest</author><pubDate>Mon, 21 Dec 2009 01:46:00 GMT</pubDate><guid>http://www.cppblog.com/goteet/archive/2009/12/21/103491.html#103610</guid><description><![CDATA[GetTickCount会有回滚问题，当系统运行 49.7 天后，会重新计数，如果没处理好，会产生错误结果，一般服务器都会整个月不关机的。<img src ="http://www.cppblog.com/goteet/aggbug/103610.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/goteet/" target="_blank">guest</a> 2009-12-21 09:46 <a href="http://www.cppblog.com/goteet/archive/2009/12/21/103491.html#103610#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 关于Observer模式的一点困惑</title><link>http://www.cppblog.com/goteet/archive/2009/12/20/103529.html#103568</link><dc:creator>eXile</dc:creator><author>eXile</author><pubDate>Sun, 20 Dec 2009 07:10:00 GMT</pubDate><guid>http://www.cppblog.com/goteet/archive/2009/12/20/103529.html#103568</guid><description><![CDATA[延迟删除，或者异步事件．<br>void Observer::onNotify(Subject* subject) <br>{ subject-&gt;deleteLater(); }<br><br><img src ="http://www.cppblog.com/goteet/aggbug/103568.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/goteet/" target="_blank">eXile</a> 2009-12-20 15:10 <a href="http://www.cppblog.com/goteet/archive/2009/12/20/103529.html#103568#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>