tmf: Introduce a scheduler for event requests
authorSimon Delisle <simon.delisle@ericsson.com>
Wed, 5 Jun 2013 20:20:41 +0000 (16:20 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 12 Jul 2013 19:35:37 +0000 (15:35 -0400)
commit306586b1c60b0e5bf65d37d32b2a70fd6ee1055b
treee83265be7f3fd23d3cc345f16f0b1128d8645cc9
parent31d773edf28bb6c214e55ab6a987dc383a688493
tmf: Introduce a scheduler for event requests

The request scheduler will increase the responsiveness of user actions.
It works with 5 slots with a specific time. It has 4 slots for
foreground
requests and 1 slot for background requests, and it passes through all
the
slots (foreground first and background after).

Example: if we have one foreground and one background request, the
foreground
request will be executed four times more often than the background
request.

Change-Id: I82dc1da60eaad92c47e015e052a69473119d7a43
Signed-off-by: Simon Delisle <simon.delisle@ericsson.com>
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/13882
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/request/AllTests.java
org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/request/TmfSchedulerTest.java [new file with mode: 0644]
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/component/TmfEventThread.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfRequestExecutor.java
This page took 0.036296 seconds and 5 git commands to generate.