mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
Assistant: Use ElapsedTimer::start_new()
This commit is contained in:
parent
6c0329c806
commit
9a1181f748
1 changed files with 1 additions and 2 deletions
|
@ -166,8 +166,7 @@ void FileProvider::build_filesystem_cache()
|
||||||
Threading::BackgroundAction<int>::create(
|
Threading::BackgroundAction<int>::create(
|
||||||
[this](auto&) {
|
[this](auto&) {
|
||||||
String slash = "/";
|
String slash = "/";
|
||||||
Core::ElapsedTimer timer;
|
auto timer = Core::ElapsedTimer::start_new();
|
||||||
timer.start();
|
|
||||||
while (!m_work_queue.is_empty()) {
|
while (!m_work_queue.is_empty()) {
|
||||||
auto base_directory = m_work_queue.dequeue();
|
auto base_directory = m_work_queue.dequeue();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue