// LoggerService.Service.Info("TimerMemoryCacheProcesser", ThreadHelper.GetCurrentProcessorNumber() + " CPU in running!");
sw.Start();
try
try
{
{
mIsBusy=true;
mIsBusy=true;
...
@@ -213,6 +213,13 @@ namespace Cdy.Tag
...
@@ -213,6 +213,13 @@ namespace Cdy.Tag
catch
catch
{
{
}
sw.Stop();
ctmp++;
if(ctmp>10&&Id==0&&sw.ElapsedMilliseconds>0)
{
ctmp=0;
LoggerService.Service.Info("TimerMemoryCacheProcesser",this.Id+" CPU Id"+ThreadHelper.GetCurrentProcessorNumber()+" record tag value:"+sw.ElapsedMilliseconds+" tag count:"+mCurrentCount);