how to measure the time error of the arduino?

You have said "measure" in several messages. do you MEAN measure, or do you mean "predict, based on the specifications in the datasheets"?