English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have checked the Synchro software and can't find the answer.

2007-05-04 02:12:53 · 2 answers · asked by P Dilla 2 in Science & Mathematics Engineering

2 answers

this depends on your queue type and what you mean by cycles
if a cycle is a processor cycle
LIFO (last in first out) stack:
the number of cycles it take to pop a variable of the stack * number of variables in the stack
FIFO stack:
# of cycles to pop or mov * # of variables

and for a rotary cycle, this depends on how many variables you move out on each rotation... logically it would be 1, but you could move out as many variables as you want.

if this doesn't answer your question, please edit to be more specific

2007-05-04 07:22:10 · answer #1 · answered by Anonymous · 0 0

It depends on how the queue is stored. If it's in a hardware stack, it might take as long as one cycle per available entry. If it's in memory and implimented as a simple circular buffer, it could be as fast as setting the 'head' and 'tail' pointers to the same address.

HTH

Doug

2007-05-04 09:19:04 · answer #2 · answered by doug_donaghue 7 · 0 0

fedest.com, questions and answers