Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Util / counter.cs / 1305376 / counter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Util { using System; using System.Web; using System.Runtime.InteropServices; ////// internal sealed class Counter { ///Provides access to system timers. ////// not creatable /// private Counter() { } ////// Gets the current system counter value. /// internal static long Value { get { long count = 0; SafeNativeMethods.QueryPerformanceCounter(ref count); return count; } } ////// Gets the frequency of the system counter in counts per second. /// internal static long Frequency { get { long freq = 0; SafeNativeMethods.QueryPerformanceFrequency(ref freq); return freq; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- _NestedMultipleAsyncResult.cs
- ping.cs
- cookieexception.cs
- GCHandleCookieTable.cs
- WebPartEditVerb.cs
- TextTreeObjectNode.cs
- HtmlTable.cs
- RelationshipEndCollection.cs
- HelloOperation11AsyncResult.cs
- FormViewDeletedEventArgs.cs
- _AutoWebProxyScriptHelper.cs
- DictionarySectionHandler.cs
- PopOutPanel.cs
- ObjectFullSpanRewriter.cs
- TextDocumentView.cs
- HtmlFormParameterWriter.cs
- IODescriptionAttribute.cs
- FileInfo.cs
- SystemThemeKey.cs
- RtfToken.cs
- UnmanagedMarshal.cs
- WebMessageEncodingBindingElement.cs
- OutputCacheModule.cs
- SinglePhaseEnlistment.cs
- ScalarConstant.cs
- SecurityManager.cs
- CombinedGeometry.cs
- ObjectStorage.cs
- MarshalDirectiveException.cs
- BasicHttpMessageSecurityElement.cs
- UserNameSecurityTokenAuthenticator.cs
- WorkflowServiceHostFactory.cs
- WindowsGraphics2.cs
- BuildProvider.cs
- SimpleHandlerBuildProvider.cs
- ChangesetResponse.cs
- PropertyItemInternal.cs
- XPathNodePointer.cs
- PassportPrincipal.cs
- SettingsPropertyCollection.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- TypeConverterHelper.cs
- FloatAverageAggregationOperator.cs
- EditorAttributeInfo.cs
- BaseDataListActionList.cs
- CodeGroup.cs
- NetSectionGroup.cs
- DiscardableAttribute.cs
- ModelUIElement3D.cs
- OdbcErrorCollection.cs
- ScriptComponentDescriptor.cs
- FactoryRecord.cs
- BufferedOutputStream.cs
- PersonalizationStateInfo.cs
- Mouse.cs
- _TransmitFileOverlappedAsyncResult.cs
- MediaEntryAttribute.cs
- ConnectionString.cs
- Size3D.cs
- TextBlock.cs
- StringConverter.cs
- JoinTreeSlot.cs
- DiagnosticsElement.cs
- SplineKeyFrames.cs
- DataTableMapping.cs
- FixedSOMSemanticBox.cs
- SplineKeyFrames.cs
- SqlHelper.cs
- CodeArgumentReferenceExpression.cs
- StringAnimationBase.cs
- TableLayoutStyleCollection.cs
- MemberAccessException.cs
- SemanticBasicElement.cs
- UriWriter.cs
- RowCache.cs
- AnalyzedTree.cs
- FileDetails.cs
- ListenerElementsCollection.cs
- TaskFormBase.cs
- SendSecurityHeaderElement.cs
- XmlIlGenerator.cs
- WebPartRestoreVerb.cs
- ItemPager.cs
- CharKeyFrameCollection.cs
- columnmapkeybuilder.cs
- SocketException.cs
- DefinitionBase.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- MetadataItem.cs
- MessageSecurityOverHttpElement.cs
- TextTabProperties.cs
- SafeNativeMethods.cs
- BuiltInExpr.cs
- ValidationHelper.cs
- SecurityImpersonationBehavior.cs
- CustomErrorCollection.cs
- WindowsContainer.cs
- ThreadStaticAttribute.cs
- HttpPostedFile.cs
- FrameworkPropertyMetadata.cs