Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qtconcurrentiteratekernel.cpp File Reference

(936e72d18075b79c8d29353618dfbd052ae59dae)

#include "qtconcurrentiteratekernel.h"
#include <qdeadlinetimer.h>
#include "private/qfunctions_p.h"
+ Include dependency graph for qtconcurrentiteratekernel.cpp:

Go to the source code of this file.

Namespaces

namespace  QtConcurrent
 \inmodule QtConcurrent
 

Enumerations

enum  { TargetRatio = 100 }
 

Functions

static qint64 getticks ()
 
static double elapsed (qint64 after, qint64 before)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
TargetRatio 

Definition at line 14 of file qtconcurrentiteratekernel.cpp.

Function Documentation

◆ elapsed()

◆ getticks()

static qint64 getticks ( )
static

Definition at line 18 of file qtconcurrentiteratekernel.cpp.

References QDeadlineTimer::current(), and Qt::PreciseTimer.

Referenced by QtConcurrent::BlockSizeManager::timeAfterUser(), and QtConcurrent::BlockSizeManager::timeBeforeUser().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: