In circuit court, when a person is convicted of a misdemeanor not originally charged as a felony and subsequently suffers partial or full revocation of his suspension of sentence or probation pursuant to § 19.2-306, he shall be assessed as court costs a fee of $77 to be known as the fixed misdemeanor revocation fee. A single fixed misdemeanor revocation fee shall be assessed per defendant per hearing without regard to the number of misdemeanor revocations being considered, except that if a revocation of probation or suspended sentence upon a felony conviction is also being considered at the same revocation proceeding, a single fixed felony revocation fee shall apply instead. The amount collected, in whole or in part, for the fixed misdemeanor revocation fee shall be apportioned, as provided by law, to the following funds in the fractional amounts designated:
Va. Code § 17.1-275.9