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
- SID.cs
- SpecialNameAttribute.cs
- ResolveDuplex11AsyncResult.cs
- SupportingTokenSecurityTokenResolver.cs
- JsonFormatReaderGenerator.cs
- ComplusEndpointConfigContainer.cs
- ConstraintEnumerator.cs
- DataSourceControl.cs
- TdsRecordBufferSetter.cs
- EditorZoneDesigner.cs
- Context.cs
- SystemWebCachingSectionGroup.cs
- ByValueEqualityComparer.cs
- Misc.cs
- RSAOAEPKeyExchangeFormatter.cs
- complextypematerializer.cs
- CustomGrammar.cs
- Vector3DValueSerializer.cs
- dataSvcMapFileLoader.cs
- EditableLabelControl.cs
- XmlHierarchyData.cs
- FormatterServices.cs
- LOSFormatter.cs
- DbCommandTree.cs
- TextRangeAdaptor.cs
- ProviderCollection.cs
- FormatterConverter.cs
- GeometryCollection.cs
- CodeSnippetCompileUnit.cs
- SingleSelectRootGridEntry.cs
- FixedSOMGroup.cs
- Matrix.cs
- XmlSchemaSimpleContentRestriction.cs
- LinkButton.cs
- ListDictionaryInternal.cs
- ConstructorNeedsTagAttribute.cs
- GPPOINT.cs
- FormsAuthenticationUser.cs
- PropagatorResult.cs
- CurrentTimeZone.cs
- WhiteSpaceTrimStringConverter.cs
- HatchBrush.cs
- AssemblySettingAttributes.cs
- GroupBox.cs
- _BaseOverlappedAsyncResult.cs
- SystemInfo.cs
- _SSPIWrapper.cs
- webeventbuffer.cs
- FontUnit.cs
- _TimerThread.cs
- CanonicalFontFamilyReference.cs
- BindableTemplateBuilder.cs
- CompatibleIComparer.cs
- DescendantBaseQuery.cs
- InstanceStore.cs
- DataGridViewTextBoxColumn.cs
- PointConverter.cs
- SqlClientWrapperSmiStreamChars.cs
- TextRunProperties.cs
- PointValueSerializer.cs
- QueryResponse.cs
- DeviceContext2.cs
- TableLayoutStyleCollection.cs
- BuildProviderCollection.cs
- _IPv6Address.cs
- DefaultPrintController.cs
- WebRequestModuleElement.cs
- SamlDelegatingWriter.cs
- RSAOAEPKeyExchangeFormatter.cs
- Activation.cs
- EdmConstants.cs
- CFStream.cs
- TrustLevelCollection.cs
- InternalConfigHost.cs
- ReachSerializer.cs
- SapiInterop.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- CommandHelper.cs
- Viewport2DVisual3D.cs
- SessionState.cs
- WebPartsSection.cs
- PrintDocument.cs
- ProjectionCamera.cs
- DelegateTypeInfo.cs
- ReferenceEqualityComparer.cs
- ProviderConnectionPointCollection.cs
- TextSelectionProcessor.cs
- DataGridViewCellCancelEventArgs.cs
- ElementUtil.cs
- ManagedWndProcTracker.cs
- StrongNamePublicKeyBlob.cs
- Stackframe.cs
- DictationGrammar.cs
- StaticContext.cs
- FixedSOMFixedBlock.cs
- UIHelper.cs
- StorageMappingItemLoader.cs
- BitmapScalingModeValidation.cs
- StoryFragments.cs
- NextPreviousPagerField.cs