Estimate time remaining for FileContentIndexer

Review Request #124082 - Created June 12, 2015 and submitted

Information
Pinak Ahuja
baloo
master
Reviewers
baloo
vhanda

This method will be eventually be exported via dbus and we'll be able to query the estimated time on demand.
Not sure if FileContentIndexer::remainingTime() is thread safe?

A manual test included which indexes all files in the include directories in a temporary database and prints remaining time after every 10 batches have been indexed. Time estimates right now are a bit wonky as time taken to index each file has a huge variations. Needs to be fine tuned, maybe by taking into account the number of various types of file in queue?

Issues

  • 0
  • 6
  • 2
  • 8
Description From Last Updated
Vishesh Handa
Pinak Ahuja
Vishesh Handa
Vishesh Handa
Vishesh Handa
Pinak Ahuja
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit a3214792ebb68ed43d24230fe5496e12e32f8aa8 by Pinak Ahuja to branch master.
Loading...