You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
521 B
19 lines
521 B
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
|
|
|
|
using System.Diagnostics;
|
|
|
|
namespace Microsoft.AspNet.SignalR.Infrastructure
|
|
{
|
|
public interface IPerformanceCounter
|
|
{
|
|
string CounterName { get; }
|
|
long Decrement();
|
|
long Increment();
|
|
long IncrementBy(long value);
|
|
CounterSample NextSample();
|
|
long RawValue { get; set; }
|
|
void Close();
|
|
void RemoveInstance();
|
|
}
|
|
}
|