SPWM frequency

void loop() {
  
  t = micros();

  Uref = sin(2 * PI * 50 * t);

  carrier = ((2 / PI) * asin(sin(2 * PI * 10000 * t)));

  if (Uref >= carrier) {

    digitalWrite(10, LOW);
    delayMicroseconds(100);
    digitalWrite(11, HIGH);
  } else {

    digitalWrite(11, LOW);
    delayMicroseconds(100);
    digitalWrite(10, HIGH);
  }

Hello, I made this code to controll a half-bridge inverter, but i have a doubt, what's the frequency of pwm output is the same of carrier or frequency of pin 11 and 10 ,i.e 490 hz?

Hi your output frequency will be your reference frequency which is the sine wave