Sample for counting the events per provider in real-time session

This commit is contained in:
georgis 2013-03-18 11:10:14 -07:00
Родитель 57514206dc
Коммит df29f05f6b
4 изменённых файлов: 267 добавлений и 2 удалений

Просмотреть файл

@ -21,14 +21,22 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tx.SqlServer", "..\..\Sourc
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tx", "Tx", "{23AE54EF-60BA-4AB2-A167-3B6F7CE72D29}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SessionStatistics", "SessionStatistics\SessionStatistics.csproj", "{E03DB5C6-7B14-4D69-B168-B580638D57E0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|x86 = Debug|x86
Debug40|Any CPU = Debug40|Any CPU
Debug40|Mixed Platforms = Debug40|Mixed Platforms
Debug40|x86 = Debug40|x86
Debug45|Any CPU = Debug45|Any CPU
Debug45|Mixed Platforms = Debug45|Mixed Platforms
Debug45|x86 = Debug45|x86
Release|Any CPU = Release|Any CPU
Release|Mixed Platforms = Release|Mixed Platforms
Release|x86 = Release|x86
Release40|Any CPU = Release40|Any CPU
Release40|Mixed Platforms = Release40|Mixed Platforms
Release40|x86 = Release40|x86
@ -37,6 +45,11 @@ Global
Release45|x86 = Release45|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Debug|Any CPU.ActiveCfg = Debug45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Debug|Any CPU.Build.0 = Debug45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Debug|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Debug|Mixed Platforms.Build.0 = Debug45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Debug|x86.ActiveCfg = Debug45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Debug40|Any CPU.ActiveCfg = Debug40|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Debug40|Any CPU.Build.0 = Debug40|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Debug40|Mixed Platforms.ActiveCfg = Debug40|Any CPU
@ -47,6 +60,11 @@ Global
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Debug45|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Debug45|Mixed Platforms.Build.0 = Debug45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Debug45|x86.ActiveCfg = Debug45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Release|Any CPU.ActiveCfg = Release45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Release|Any CPU.Build.0 = Release45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Release|Mixed Platforms.ActiveCfg = Release45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Release|Mixed Platforms.Build.0 = Release45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Release|x86.ActiveCfg = Release45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Release40|Any CPU.ActiveCfg = Release40|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Release40|Any CPU.Build.0 = Release40|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Release40|Mixed Platforms.ActiveCfg = Release40|Any CPU
@ -57,6 +75,11 @@ Global
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Release45|Mixed Platforms.ActiveCfg = Release45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Release45|Mixed Platforms.Build.0 = Release45|Any CPU
{6C6D01A6-2A35-49D4-8D49-A3BDD15B587E}.Release45|x86.ActiveCfg = Release45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Debug|Any CPU.ActiveCfg = Debug45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Debug|Any CPU.Build.0 = Debug45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Debug|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Debug|Mixed Platforms.Build.0 = Debug45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Debug|x86.ActiveCfg = Debug45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Debug40|Any CPU.ActiveCfg = Debug40|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Debug40|Any CPU.Build.0 = Debug40|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Debug40|Mixed Platforms.ActiveCfg = Debug40|Any CPU
@ -67,6 +90,11 @@ Global
{94DEECFE-4940-44C2-B189-1D095B434E64}.Debug45|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Debug45|Mixed Platforms.Build.0 = Debug45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Debug45|x86.ActiveCfg = Debug45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Release|Any CPU.ActiveCfg = Release45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Release|Any CPU.Build.0 = Release45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Release|Mixed Platforms.ActiveCfg = Release45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Release|Mixed Platforms.Build.0 = Release45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Release|x86.ActiveCfg = Release45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Release40|Any CPU.ActiveCfg = Release40|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Release40|Any CPU.Build.0 = Release40|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Release40|Mixed Platforms.ActiveCfg = Release40|Any CPU
@ -77,6 +105,11 @@ Global
{94DEECFE-4940-44C2-B189-1D095B434E64}.Release45|Mixed Platforms.ActiveCfg = Release45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Release45|Mixed Platforms.Build.0 = Release45|Any CPU
{94DEECFE-4940-44C2-B189-1D095B434E64}.Release45|x86.ActiveCfg = Release45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Debug|Any CPU.ActiveCfg = Debug45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Debug|Any CPU.Build.0 = Debug45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Debug|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Debug|Mixed Platforms.Build.0 = Debug45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Debug|x86.ActiveCfg = Debug45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Debug40|Any CPU.ActiveCfg = Debug40|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Debug40|Any CPU.Build.0 = Debug40|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Debug40|Mixed Platforms.ActiveCfg = Debug40|Any CPU
@ -87,6 +120,11 @@ Global
{E58173E2-502B-431D-921D-38A08E318411}.Debug45|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Debug45|Mixed Platforms.Build.0 = Debug45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Debug45|x86.ActiveCfg = Debug45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Release|Any CPU.ActiveCfg = Release45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Release|Any CPU.Build.0 = Release45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Release|Mixed Platforms.ActiveCfg = Release45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Release|Mixed Platforms.Build.0 = Release45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Release|x86.ActiveCfg = Release45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Release40|Any CPU.ActiveCfg = Release40|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Release40|Any CPU.Build.0 = Release40|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Release40|Mixed Platforms.ActiveCfg = Release40|Any CPU
@ -97,6 +135,11 @@ Global
{E58173E2-502B-431D-921D-38A08E318411}.Release45|Mixed Platforms.ActiveCfg = Release45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Release45|Mixed Platforms.Build.0 = Release45|Any CPU
{E58173E2-502B-431D-921D-38A08E318411}.Release45|x86.ActiveCfg = Release45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Debug|Any CPU.ActiveCfg = Debug45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Debug|Any CPU.Build.0 = Debug45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Debug|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Debug|Mixed Platforms.Build.0 = Debug45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Debug|x86.ActiveCfg = Debug45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Debug40|Any CPU.ActiveCfg = Debug40|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Debug40|Any CPU.Build.0 = Debug40|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Debug40|Mixed Platforms.ActiveCfg = Debug40|Any CPU
@ -107,6 +150,11 @@ Global
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Debug45|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Debug45|Mixed Platforms.Build.0 = Debug45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Debug45|x86.ActiveCfg = Debug45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Release|Any CPU.ActiveCfg = Release45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Release|Any CPU.Build.0 = Release45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Release|Mixed Platforms.ActiveCfg = Release45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Release|Mixed Platforms.Build.0 = Release45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Release|x86.ActiveCfg = Release45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Release40|Any CPU.ActiveCfg = Release40|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Release40|Any CPU.Build.0 = Release40|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Release40|Mixed Platforms.ActiveCfg = Release40|Any CPU
@ -117,6 +165,11 @@ Global
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Release45|Mixed Platforms.ActiveCfg = Release45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Release45|Mixed Platforms.Build.0 = Release45|Any CPU
{52C97062-0431-40DD-A14D-E5CC2BE89690}.Release45|x86.ActiveCfg = Release45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Debug|Any CPU.ActiveCfg = Debug45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Debug|Any CPU.Build.0 = Debug45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Debug|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Debug|Mixed Platforms.Build.0 = Debug45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Debug|x86.ActiveCfg = Debug45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Debug40|Any CPU.ActiveCfg = Debug40|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Debug40|Any CPU.Build.0 = Debug40|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Debug40|Mixed Platforms.ActiveCfg = Debug40|Any CPU
@ -127,6 +180,11 @@ Global
{890A312F-3A5B-490A-804F-2443CE5605C2}.Debug45|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Debug45|Mixed Platforms.Build.0 = Debug45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Debug45|x86.ActiveCfg = Debug45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Release|Any CPU.ActiveCfg = Release45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Release|Any CPU.Build.0 = Release45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Release|Mixed Platforms.ActiveCfg = Release45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Release|Mixed Platforms.Build.0 = Release45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Release|x86.ActiveCfg = Release45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Release40|Any CPU.ActiveCfg = Release40|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Release40|Any CPU.Build.0 = Release40|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Release40|Mixed Platforms.ActiveCfg = Release40|Any CPU
@ -137,6 +195,11 @@ Global
{890A312F-3A5B-490A-804F-2443CE5605C2}.Release45|Mixed Platforms.ActiveCfg = Release45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Release45|Mixed Platforms.Build.0 = Release45|Any CPU
{890A312F-3A5B-490A-804F-2443CE5605C2}.Release45|x86.ActiveCfg = Release45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Debug|Any CPU.ActiveCfg = Debug45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Debug|Any CPU.Build.0 = Debug45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Debug|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Debug|Mixed Platforms.Build.0 = Debug45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Debug|x86.ActiveCfg = Debug45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Debug40|Any CPU.ActiveCfg = Debug40|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Debug40|Any CPU.Build.0 = Debug40|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Debug40|Mixed Platforms.ActiveCfg = Debug40|Any CPU
@ -147,6 +210,11 @@ Global
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Debug45|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Debug45|Mixed Platforms.Build.0 = Debug45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Debug45|x86.ActiveCfg = Debug45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Release|Any CPU.ActiveCfg = Release45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Release|Any CPU.Build.0 = Release45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Release|Mixed Platforms.ActiveCfg = Release45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Release|Mixed Platforms.Build.0 = Release45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Release|x86.ActiveCfg = Release45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Release40|Any CPU.ActiveCfg = Release40|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Release40|Any CPU.Build.0 = Release40|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Release40|Mixed Platforms.ActiveCfg = Release40|Any CPU
@ -157,6 +225,11 @@ Global
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Release45|Mixed Platforms.ActiveCfg = Release45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Release45|Mixed Platforms.Build.0 = Release45|Any CPU
{CB886120-D55F-48B0-822E-AB0951FCAC02}.Release45|x86.ActiveCfg = Release45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Debug|Any CPU.ActiveCfg = Debug45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Debug|Any CPU.Build.0 = Debug45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Debug|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Debug|Mixed Platforms.Build.0 = Debug45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Debug|x86.ActiveCfg = Debug45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Debug40|Any CPU.ActiveCfg = Debug40|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Debug40|Any CPU.Build.0 = Debug40|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Debug40|Mixed Platforms.ActiveCfg = Debug40|Any CPU
@ -167,6 +240,11 @@ Global
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Debug45|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Debug45|Mixed Platforms.Build.0 = Debug45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Debug45|x86.ActiveCfg = Debug45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Release|Any CPU.ActiveCfg = Release45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Release|Any CPU.Build.0 = Release45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Release|Mixed Platforms.ActiveCfg = Release45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Release|Mixed Platforms.Build.0 = Release45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Release|x86.ActiveCfg = Release45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Release40|Any CPU.ActiveCfg = Release40|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Release40|Any CPU.Build.0 = Release40|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Release40|Mixed Platforms.ActiveCfg = Release40|Any CPU
@ -177,6 +255,11 @@ Global
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Release45|Mixed Platforms.ActiveCfg = Release45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Release45|Mixed Platforms.Build.0 = Release45|Any CPU
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F}.Release45|x86.ActiveCfg = Release45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Debug|Any CPU.ActiveCfg = Debug45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Debug|Any CPU.Build.0 = Debug45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Debug|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Debug|Mixed Platforms.Build.0 = Debug45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Debug|x86.ActiveCfg = Debug45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Debug40|Any CPU.ActiveCfg = Debug40|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Debug40|Any CPU.Build.0 = Debug40|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Debug40|Mixed Platforms.ActiveCfg = Debug40|Any CPU
@ -187,6 +270,11 @@ Global
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Debug45|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Debug45|Mixed Platforms.Build.0 = Debug45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Debug45|x86.ActiveCfg = Debug45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Release|Any CPU.ActiveCfg = Release45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Release|Any CPU.Build.0 = Release45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Release|Mixed Platforms.ActiveCfg = Release45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Release|Mixed Platforms.Build.0 = Release45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Release|x86.ActiveCfg = Release45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Release40|Any CPU.ActiveCfg = Release40|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Release40|Any CPU.Build.0 = Release40|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Release40|Mixed Platforms.ActiveCfg = Release40|Any CPU
@ -197,6 +285,11 @@ Global
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Release45|Mixed Platforms.ActiveCfg = Release45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Release45|Mixed Platforms.Build.0 = Release45|Any CPU
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8}.Release45|x86.ActiveCfg = Release45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Debug|Any CPU.ActiveCfg = Debug45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Debug|Any CPU.Build.0 = Debug45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Debug|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Debug|Mixed Platforms.Build.0 = Debug45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Debug|x86.ActiveCfg = Debug45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Debug40|Any CPU.ActiveCfg = Debug40|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Debug40|Any CPU.Build.0 = Debug40|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Debug40|Mixed Platforms.ActiveCfg = Debug40|Any CPU
@ -207,6 +300,11 @@ Global
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Debug45|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Debug45|Mixed Platforms.Build.0 = Debug45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Debug45|x86.ActiveCfg = Debug45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Release|Any CPU.ActiveCfg = Release45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Release|Any CPU.Build.0 = Release45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Release|Mixed Platforms.ActiveCfg = Release45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Release|Mixed Platforms.Build.0 = Release45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Release|x86.ActiveCfg = Release45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Release40|Any CPU.ActiveCfg = Release40|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Release40|Any CPU.Build.0 = Release40|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Release40|Mixed Platforms.ActiveCfg = Release40|Any CPU
@ -217,13 +315,43 @@ Global
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Release45|Mixed Platforms.ActiveCfg = Release45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Release45|Mixed Platforms.Build.0 = Release45|Any CPU
{8892848F-45A1-46AC-A686-6A25EEC1475B}.Release45|x86.ActiveCfg = Release45|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug|Any CPU.ActiveCfg = Debug40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug|Any CPU.Build.0 = Debug40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug|Mixed Platforms.ActiveCfg = Debug40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug|Mixed Platforms.Build.0 = Debug40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug|x86.ActiveCfg = Debug40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug40|Any CPU.ActiveCfg = Debug40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug40|Any CPU.Build.0 = Debug40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug40|Mixed Platforms.ActiveCfg = Debug40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug40|Mixed Platforms.Build.0 = Debug40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug40|x86.ActiveCfg = Debug40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug45|Any CPU.ActiveCfg = Debug45|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug45|Any CPU.Build.0 = Debug45|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug45|Mixed Platforms.ActiveCfg = Debug45|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug45|Mixed Platforms.Build.0 = Debug45|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Debug45|x86.ActiveCfg = Debug45|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release|Any CPU.ActiveCfg = Release40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release|Any CPU.Build.0 = Release40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release|Mixed Platforms.ActiveCfg = Release40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release|Mixed Platforms.Build.0 = Release40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release|x86.ActiveCfg = Release40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release40|Any CPU.ActiveCfg = Release40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release40|Any CPU.Build.0 = Release40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release40|Mixed Platforms.ActiveCfg = Release40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release40|Mixed Platforms.Build.0 = Release40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release40|x86.ActiveCfg = Release40|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release45|Any CPU.ActiveCfg = Release45|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release45|Any CPU.Build.0 = Release45|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release45|Mixed Platforms.ActiveCfg = Release45|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release45|Mixed Platforms.Build.0 = Release45|Any CPU
{E03DB5C6-7B14-4D69-B168-B580638D57E0}.Release45|x86.ActiveCfg = Release45|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F} = {23AE54EF-60BA-4AB2-A167-3B6F7CE72D29}
{8892848F-45A1-46AC-A686-6A25EEC1475B} = {23AE54EF-60BA-4AB2-A167-3B6F7CE72D29}
{C4043ABB-EC40-4194-B15B-C0D13C2CF5C8} = {23AE54EF-60BA-4AB2-A167-3B6F7CE72D29}
{8892848F-45A1-46AC-A686-6A25EEC1475B} = {23AE54EF-60BA-4AB2-A167-3B6F7CE72D29}
{C5CC33B0-1684-4DD4-83A5-5DA4A9A25A7F} = {23AE54EF-60BA-4AB2-A167-3B6F7CE72D29}
EndGlobalSection
EndGlobal

Просмотреть файл

@ -0,0 +1,48 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading;
using Tx.Windows;
namespace SessionStatistics
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 2)
{
Console.WriteLine("Usage: SessionStatistics <real-time session name> <seconds>");
return;
}
string sessionName = args[0];
int seconds = int.Parse(args[1]);
Console.WriteLine("Measuring provider verbosity for session '{0}' for {1} seconds", sessionName, seconds);
IObservable<EtwNativeEvent> session = EtwObservable.FromSession(sessionName);
var timeSource = new TimeSource<EtwNativeEvent>(session, e => e.TimeStamp);
var countPerWindow = from e in timeSource.Take(TimeSpan.FromSeconds(seconds), timeSource.Scheduler)
group e by new {e.ProviderId} into g
from total in g.Count()
select new {Provider = g.Key, Count = total};
ManualResetEvent evt = new ManualResetEvent(false);
IDisposable output = countPerWindow.Subscribe(
stat => Console.WriteLine("{0} {1}", stat.Provider, stat.Count), // OnNext
e => Console.WriteLine(e.Message), // OnError
() =>{ evt.Set();}); // OnCompleted
IDisposable input = timeSource.Connect();
evt.WaitOne();
output.Dispose();
input.Dispose();
}
}
}

Просмотреть файл

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("SessionStatistics")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SessionStatistics")]
[assembly: AssemblyCopyright("Copyright © 2013")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("7ce977f3-0ff3-4ee8-9e1b-1f986cdbc507")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

Просмотреть файл

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{E03DB5C6-7B14-4D69-B168-B580638D57E0}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SessionStatistics</RootNamespace>
<AssemblyName>SessionStatistics</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<Import Project="..\..\..\Common.targets" />
<PropertyGroup>
<CPReferencePath>..\..\..\References\$(BuildFlavor)</CPReferencePath>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Reactive.Core">
<HintPath>$(CPReferencePath)\System.Reactive.Core.dll</HintPath>
</Reference>
<Reference Include="System.Reactive.Interfaces">
<HintPath>$(CPReferencePath)\System.Reactive.Interfaces.dll</HintPath>
</Reference>
<Reference Include="System.Reactive.Linq">
<HintPath>$(CPReferencePath)\System.Reactive.Linq.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Source\Tx.Core\Tx.Core.csproj">
<Project>{c5cc33b0-1684-4dd4-83a5-5da4a9a25a7f}</Project>
<Name>Tx.Core</Name>
</ProjectReference>
<ProjectReference Include="..\..\..\Source\Tx.Windows\Tx.Windows.csproj">
<Project>{c4043abb-ec40-4194-b15b-c0d13c2cf5c8}</Project>
<Name>Tx.Windows</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>