diff --git a/typo3/sysext/indexed_search/Classes/Indexer.php b/typo3/sysext/indexed_search/Classes/Indexer.php
index e7ff582adb395eeb81dfd531045277c03c8e19c7..11c153d12847cd31110ac67bdf8307ed98bb299a 100644
--- a/typo3/sysext/indexed_search/Classes/Indexer.php
+++ b/typo3/sysext/indexed_search/Classes/Indexer.php
@@ -327,7 +327,7 @@ class Indexer
             // This will also prevent pages from being indexed if a fe_users has logged in and it turns out that the page content is not changed anyway. fe_users logged in should always search with hash_gr_list = "0,-1" OR "[their_group_list]". This situation will be prevented only if the page has been indexed with no user login on before hand. Else the page will be indexed by users until that event. However that does not present a serious problem.
             $checkCHash = $this->checkContentHash();
             if (!is_array($checkCHash) || $check === 1) {
-                $Pstart = GeneralUtility::milliseconds();
+                $Pstart = IndexedSearchUtility::milliseconds();
                 $this->log_push('Converting charset of content (' . $this->conf['metaCharset'] . ') to utf-8', '');
                 $this->charsetEntity2utf8($this->contentParts, $this->conf['metaCharset']);
                 $this->log_pull();
@@ -886,7 +886,7 @@ class Indexer
                 foreach ($cParts as $cPKey) {
                     $this->internal_log = [];
                     $this->log_push('Index: ' . str_replace('.', '_', PathUtility::basename($file)) . ($cPKey ? '#' . $cPKey : ''), '');
-                    $Pstart = GeneralUtility::milliseconds();
+                    $Pstart = IndexedSearchUtility::milliseconds();
                     $subinfo = ['key' => $cPKey];
                     // Setting page range. This is "0" (zero) when no division is made, otherwise a range like "1-3"
                     $phash_arr = ($this->file_phash_arr = $this->setExtHashes($file, $subinfo));