gc time in the java runtime monitor

gc time in the java runtime monitor

could anyone explain to me how the gc time (%) is culculated in the java runtime monitor.

If i do it thru java tools i get totaly diverent values

                New to ADSelfService Plus?