[#BloombergLP-bdlmt-EventSchedulerTestTimeSource-2constructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlmt.adoc[bdlmt]::xref:BloombergLP/bdlmt/EventSchedulerTestTimeSource.adoc[EventSchedulerTestTimeSource]::EventSchedulerTestTimeSource :relfileprefix: ../../../ :mrdocs: Create a test time‐source object that will control the "system‐time" observed by the specified `scheduler`. Initialize `now` to be an arbitrary time value. The behavior is undefined if any methods have previously been called on `scheduler`. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. The behavior is undefined unless the supplied allocator also outlives the `EventScheduler` associated with this time source. == Synopsis Declared in `<bdlmt_eventscheduler.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit EventSchedulerTestTimeSource( xref:BloombergLP/bdlmt/EventScheduler.adoc[EventScheduler]* scheduler, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#