Tapper Team > Tapper-MCP > Tapper::MCP::Scheduler::Algorithm::DummyAlgorithm

Download:
Tapper-MCP-4.1.2.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 4.1.2   Source  

NAME ^

Tapper::MCP::Scheduler::Algorithm::DummyAlgorithm - Dummy algorithm for testing

SYNOPSIS ^

Algorithm that returns queues in order it received it. It sorts all queues it gets by name an remembers which queue it gave out last time. When the queue chosen last time is still in the list of given queues the algorithm returns its successor in the order. Otherwise it returns the first queue in the order.

FUNCTIONS ^

get_next_queue

Evaluate which client has to be scheduled next.

@return success - client name;

AUTHOR ^

AMD OSRC Tapper Team <tapper@amd64.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..

This is free software, licensed under:

  The (two-clause) FreeBSD License
syntax highlighting: