Stroika Library 3.0d16
 
Loading...
Searching...
No Matches
WMICollector.h File Reference
#include "Stroika/Frameworks/StroikaPreComp.h"
#include <memory>
#include <optional>
#include "Stroika/Foundation/Containers/Mapping.h"
#include "Stroika/Foundation/Containers/Set.h"
#include "Stroika/Foundation/Debug/AssertExternallySynchronizedMutex.h"
#include "Stroika/Foundation/Time/Realtime.h"
#include "WMICollector.inl"

Go to the source code of this file.

Classes

class  Stroika::Frameworks::SystemPerformance::Support::WMICollector
 

Detailed Description

Note
Code-Status: Alpha

TODO:

@todo   Cleanup use of  AssertExternallySynchronizedMutex once we have RECURSIVE
        flag. (?? note AssertExternallySynchronizedMutex is recursive)

@todo   Support remove of counters and instances.

@todo   See if its possible to support other 'value' return types. Sterl thinks
        and there is some evidence to suppor tthis - that there should be w way to get back
        strings (for stuff like disk name, or process name). And the API seems to ahve some
        support for this, but getformattedvalue doesn't seem to support it?

@todo   Consider if we should support multiple objects at a time.

@todo   Consider use of Atom manager for tokens - as would be more efficient than strings.
        Would be a good place to expierment with private 'scoped' context for atom values.

@todo   Consider implementation based on COM calls, since Sterl believes those maybe
        more efficient

@todo   Better exception message reporting - LoadModule/FormatMEssage -
        see https://msdn.microsoft.com/en-us/library/windows/desktop/aa373046(v=vs.85).aspx

Definition in file WMICollector.h.