/** Initializes the disk instances. \note This method is a helper to the Init method and can be used directly if the sampler thread is not needed. */ void StatisticalLogicalDiskEnumeration::InitInstances() { SetTotalInstance( SCXCoreLib::SCXHandle<StatisticalLogicalDiskInstance>( new StatisticalLogicalDiskInstance(m_deps, true) )); Update(false); }
/** Create Test instances */ void WkEnumeration::Init() { SCX_LOGTRACE(m_log, L"WkEnumeration Init()"); SetTotalInstance(SCXHandle<TestInstance>(new TestInstance(0, true))); Update(false); }