| 1 | // |
|---|---|
| 2 | // Copyright (c) Microsoft. All rights reserved. |
| 3 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| 4 | // |
| 5 | |
| 6 | #ifndef _MethodCallSummarizer |
| 7 | #define _MethodCallSummarizer |
| 8 | |
| 9 | class MethodCallSummarizer |
| 10 | { |
| 11 | public: |
| 12 | MethodCallSummarizer(WCHAR* name); |
| 13 | void AddCall(const char* name); |
| 14 | void SaveTextFile(); |
| 15 | |
| 16 | private: |
| 17 | char** names; |
| 18 | unsigned int* counts; |
| 19 | int numNames; |
| 20 | WCHAR* dataFileName; |
| 21 | }; |
| 22 | |
| 23 | #endif |