We have developed a diagnostic system that measures the spectrally integrated (i.e. the total) energy and power radiated by a pulsed blackbody x-ray source. The total-energy-and-power (TEP) diagnostic system is optimized for blackbody temperatures between 50 and 350 eV. The system can view apertured sources that radiate energies and powers as high as 2 MJ and 200 TW, respectively, and has been successfully tested at 0.84 MJ and 73 TW on the Z pulsed-power accelerator. The TEP system consists of two pinhole arrays, two silicon-diode detectors, and two thin-film nickel bolometers. Each of the two pinhole arrays is paired with a single silicon diode. Each array consists of a 38 x 38 square array of 10-{micro}m-diameter pinholes in a 50-{micro}m-thick tantalum plate. The arrays achromatically attenuate the x-ray flux by a factor of {approx}1800. The use of such arrays for the attenuation of soft x rays was first proposed by Turner and co-workers [Rev. Sci. Instrum. 70, 656 (1999)RSINAK0034-674810.1063/1.1149385]. The attenuated flux from each array illuminates its associated diode; the diode's output current is recorded by a data-acquisition system with 0.6-ns time resolution. The arrays and diodes are located 19 and 24 m from the source, respectively. Because the diodes are designed to have an approximately flat spectral sensitivity, the output current from each diode is proportional to the x-ray power. The nickel bolometers are fielded at a slightly different angle from the array-diode combinations, and view (without pinhole attenuation) the same x-ray source. The bolometers measure the total x-ray energy radiated by the source and--on every shot--provide an in situ calibration of the array-diode combinations. Two array-diode pairs and two bolometers are fielded to reduce random uncertainties. An analytic model (which accounts for pinhole-diffraction effects) of the sensitivity of an array-diode combination is presented.