metrics question

15 views
Skip to first unread message

张伟

unread,
Jun 24, 2013, 4:42:53 AM6/24/13
to hawtdi...@googlegroups.com
  I have only one Serial Dispatch Queue labeled “adboard”,and I submit some task to "adboard"'s queue, and I find the metrics output like that:
"{ label:DEFAULT, enqueued:3, dequeued:3, max_wait_time:52062.00 ms, max_run_time:1447.73 ms, total_run_time:1499.64 ms, total_wait_time:52062.25 ms }","{ label:aboard, enqueued:3, dequeued:3, max_wait_time:53461.54 ms, max_run_time:48.19 ms, total_run_time:100.05 ms, total_wait_time:53461.82 ms }"  Why the DEFAULT queue have metrics infomation even i don not submit any task to that queue?

Hiram Chirino

unread,
Jun 24, 2013, 10:39:03 AM6/24/13
to hawtdispatch
All serial dispatch queues are executed on the the global dispatch
queues. You can think of the global dispatch queues as a concurrent
thread pool.
> --
> You received this message because you are subscribed to the Google Groups
> "hawtdispatch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hawtdispatch...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Hiram Chirino

Engineering | Red Hat, Inc.

hchi...@redhat.com | fusesource.com | redhat.com

skype: hiramchirino | twitter: @hiramchirino

blog: Hiram Chirino's Bit Mojo

张伟

unread,
Jun 24, 2013, 9:31:43 PM6/24/13
to hawtdi...@googlegroups.com, hi...@hiramchirino.com
Then I can think that 
    serial dispatch queues just task queue, does not have its own thread resources. 
    global dispatch queues have task queue, and have thread resources.
Rigth?

在 2013年6月24日星期一UTC+8下午10时39分03秒,Hiram Chirino写道:

Christian Posta

unread,
Jun 24, 2013, 11:18:49 PM6/24/13
to hawtdi...@googlegroups.com
You got it. That's correct.
Christian Posta
twitter: @christianposta

张伟

unread,
Jun 25, 2013, 3:54:44 AM6/25/13
to hawtdi...@googlegroups.com
Thanks Christian Posta and Hiram Chirino  very much!

在 2013年6月25日星期二UTC+8上午11时18分49秒,christian.posta写道:
Reply all
Reply to author
Forward
0 new messages